home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: node2_ct.html
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
90%
| dexvert
| Hypertext Markup Language File (text/html)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| HTML document text
| default (weak)
| |
99%
| file
| LaTeX document text
| default
| |
98%
| file
| exported SGML document text
| default
| |
97%
| file
| exported SGML document, ASCII text
| default
| |
80%
| TrID
| HyperText Markup Language with DOCTYPE
| default
| |
19%
| TrID
| HyperText Markup Language
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| gt2
| HTML (Hyper Text Markup Language) Datei
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/html
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 53 74 | 61 6e 64 61 72 64 69 7a |ts of St|andardiz|
|000000b0| 69 6e 67 20 74 68 72 6f | 75 67 68 20 61 6e 6f 74 |ing thro|ugh anot|
|000000c0| 68 65 72 20 73 6f 66 74 | 77 61 72 65 20 6c 65 76 |her soft|ware lev|
|000000d0| 65 6c 3c 2f 54 49 54 4c | 45 3e 0a 0a 3c 4d 45 54 |el</TITL|E>..<MET|
|000000e0| 41 20 48 54 54 50 2d 45 | 51 55 49 56 3d 22 43 6f |A HTTP-E|QUIV="Co|
|000000f0| 6e 74 65 6e 74 2d 54 79 | 70 65 22 20 43 4f 4e 54 |ntent-Ty|pe" CONT|
|00000100| 45 4e 54 3d 22 74 65 78 | 74 2f 68 74 6d 6c 3b 20 |ENT="tex|t/html; |
|00000110| 63 68 61 72 73 65 74 3d | 75 74 66 2d 38 22 3e 0a |charset=|utf-8">.|
|00000120| 3c 4d 45 54 41 20 4e 41 | 4d 45 3d 22 76 69 65 77 |<META NA|ME="view|
|00000130| 70 6f 72 74 22 20 43 4f | 4e 54 45 4e 54 3d 22 77 |port" CO|NTENT="w|
|00000140| 69 64 74 68 3d 64 65 76 | 69 63 65 2d 77 69 64 74 |idth=dev|ice-widt|
|00000150| 68 2c 20 69 6e 69 74 69 | 61 6c 2d 73 63 61 6c 65 |h, initi|al-scale|
|00000160| 3d 31 2e 30 22 3e 0a 3c | 4d 45 54 41 20 4e 41 4d |=1.0">.<|META NAM|
|00000170| 45 3d 22 47 65 6e 65 72 | 61 74 6f 72 22 20 43 4f |E="Gener|ator" CO|
|00000180| 4e 54 45 4e 54 3d 22 4c | 61 54 65 58 32 48 54 4d |NTENT="L|aTeX2HTM|
|00000190| 4c 20 76 32 30 32 32 22 | 3e 0a 0a 3c 4c 49 4e 4b |L v2022"|>..<LINK|
|000001a0| 20 52 45 4c 3d 22 53 54 | 59 4c 45 53 48 45 45 54 | REL="ST|YLESHEET|
|000001b0| 22 20 48 52 45 46 3d 22 | 63 64 72 6f 6d 2d 73 74 |" HREF="|cdrom-st|
|000001c0| 61 6e 64 61 72 64 2e 63 | 73 73 22 3e 0a 0a 3c 4c |andard.c|ss">..<L|
|000001d0| 49 4e 4b 20 52 45 4c 3d | 22 6e 65 78 74 22 20 48 |INK REL=|"next" H|
|000001e0| 52 45 46 3d 22 6e 6f 64 | 65 32 30 5f 6d 6e 2e 68 |REF="nod|e20_mn.h|
|000001f0| 74 6d 6c 22 3e 0a 3c 4c | 49 4e 4b 20 52 45 4c 3d |tml">.<L|INK REL=|
|00000200| 22 70 72 65 76 69 6f 75 | 73 22 20 48 52 45 46 3d |"previou|s" HREF=|
|00000210| 22 6e 6f 64 65 31 5f 6d | 6e 2e 68 74 6d 6c 22 3e |"node1_m|n.html">|
|00000220| 0a 3c 4c 49 4e 4b 20 52 | 45 4c 3d 22 75 70 22 20 |.<LINK R|EL="up" |
|00000230| 48 52 45 46 3d 22 63 64 | 72 6f 6d 2d 73 74 61 6e |HREF="cd|rom-stan|
|00000240| 64 61 72 64 5f 6d 6e 2e | 68 74 6d 6c 22 3e 0a 3c |dard_mn.|html">.<|
|00000250| 4c 49 4e 4b 20 52 45 4c | 3d 22 6e 65 78 74 22 20 |LINK REL|="next" |
|00000260| 48 52 45 46 3d 22 6e 6f | 64 65 33 5f 6d 6e 2e 68 |HREF="no|de3_mn.h|
|00000270| 74 6d 6c 22 3e 0a 3c 2f | 48 45 41 44 3e 0a 20 0a |tml">.</|HEAD>. .|
|00000280| 3c 42 4f 44 59 20 62 67 | 63 6f 6c 6f 72 3d 22 23 |<BODY bg|color="#|
|00000290| 66 66 66 66 66 66 22 20 | 74 65 78 74 3d 22 23 30 |ffffff" |text="#0|
|000002a0| 30 30 30 30 30 22 20 6c | 69 6e 6b 3d 22 23 39 39 |00000" l|ink="#99|
|000002b0| 34 34 45 45 22 20 76 6c | 69 6e 6b 3d 22 23 30 30 |44EE" vl|ink="#00|
|000002c0| 30 30 66 66 22 20 61 6c | 69 6e 6b 3d 22 23 30 30 |00ff" al|ink="#00|
|000002d0| 66 66 30 30 22 3e 0a 0a | 3c 48 31 3e 3c 41 20 49 |ff00">..|<H1><A I|
|000002e0| 44 3d 22 53 45 43 54 49 | 4f 4e 30 30 30 32 30 30 |D="SECTI|ON000200|
|000002f0| 30 30 30 30 30 30 30 30 | 30 30 30 30 30 30 22 3e |00000000|000000">|
|00000300| 3c 2f 41 3e 0a 3c 41 20 | 49 44 3d 22 63 64 72 6f |</A>.<A |ID="cdro|
|00000310| 6d 2e 63 22 3e 3c 2f 41 | 3e 0a 3c 42 52 3e 0a 53 |m.c"></A|>.<BR>.S|
|00000320| 74 61 6e 64 61 72 64 69 | 7a 69 6e 67 20 74 68 72 |tandardi|zing thr|
|00000330| 6f 75 67 68 20 61 6e 6f | 74 68 65 72 20 73 6f 66 |ough ano|ther sof|
|00000340| 74 77 61 72 65 20 6c 65 | 76 65 6c 0a 3c 2f 48 31 |tware le|vel.</H1|
|00000350| 3e 0a 3c 50 3e 0a 3c 54 | 54 3e 41 74 20 74 68 65 |>.<P>.<T|T>At the|
|00000360| 20 74 69 6d 65 20 74 68 | 69 73 20 64 6f 63 75 6d | time th|is docum|
|00000370| 65 6e 74 20 69 73 20 77 | 72 69 74 74 65 6e 2c 20 |ent is w|ritten, |
|00000380| 61 6c 6c 20 64 72 69 76 | 65 72 73 20 64 69 72 65 |all driv|ers dire|
|00000390| 63 74 6c 79 20 69 6d 70 | 6c 65 6d 65 6e 74 0a 74 |ctly imp|lement.t|
|000003a0| 68 65 20 3c 49 3e 69 6f | 63 74 6c 3c 2f 49 3e 20 |he <I>io|ctl</I> |
|000003b0| 28 29 20 63 61 6c 6c 73 | 20 74 68 72 6f 75 67 68 |() calls| through|
|000003c0| 20 74 68 65 69 72 20 6f | 77 6e 20 72 6f 75 74 69 | their o|wn routi|
|000003d0| 6e 65 73 2c 20 77 69 74 | 68 20 74 68 65 20 64 61 |nes, wit|h the da|
|000003e0| 6e 67 65 72 20 6f 66 0a | 66 6f 72 67 65 74 74 69 |nger of.|forgetti|
|000003f0| 6e 67 20 63 61 6c 6c 73 | 20 74 6f 20 3c 21 2d 2d |ng calls| to <!--|
|00000400| 20 4d 41 54 48 0a 20 24 | 76 65 72 69 66 79 5f 61 | MATH. $|verify_a|
|00000410| 72 65 61 28 29 24 0a 20 | 2d 2d 3e 0a 3c 49 3e 76 |rea()$. |-->.<I>v|
|00000420| 65 72 69 66 79 3c 2f 49 | 3e 3c 53 55 42 3e 61 3c |erify</I|><SUB>a<|
|00000430| 2f 53 55 42 3e 3c 49 3e | 72 65 61 3c 2f 49 3e 28 |/SUB><I>|rea</I>(|
|00000440| 29 20 61 6e 64 20 74 68 | 65 20 72 69 73 6b 20 6f |) and th|e risk o|
|00000450| 66 20 64 69 76 65 72 67 | 65 6e 63 65 20 69 6e 0a |f diverg|ence in.|
|00000460| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 2e 20 |implemen|tation. |
|00000470| 0a 3c 2f 54 54 3e 0a 3c | 50 3e 0a 3c 54 54 3e 46 |.</TT>.<|P>.<TT>F|
|00000480| 6f 72 20 74 68 69 73 20 | 72 65 61 73 6f 6e 2c 20 |or this |reason, |
|00000490| 77 65 3c 41 20 4e 41 4d | 45 3d 22 74 65 78 32 68 |we<A NAM|E="tex2h|
|000004a0| 74 6d 6c 32 22 20 48 52 | 45 46 3d 22 66 6f 6f 74 |tml2" HR|EF="foot|
|000004b0| 6e 6f 64 65 5f 6d 6e 2e | 68 74 6d 6c 23 66 6f 6f |node_mn.|html#foo|
|000004c0| 74 32 39 22 20 54 41 52 | 47 45 54 3d 22 66 6f 6f |t29" TAR|GET="foo|
|000004d0| 74 65 72 22 3e 3c 53 55 | 50 3e 32 3c 2f 53 55 50 |ter"><SU|P>2</SUP|
|000004e0| 3e 3c 2f 41 3e 20 70 72 | 6f 70 6f 73 65 20 74 6f |></A> pr|opose to|
|000004f0| 20 64 65 66 69 6e 65 0a | 61 6e 6f 74 68 65 72 20 | define.|another |
|00000500| 73 6f 66 74 77 61 72 65 | 2d 6c 65 76 65 6c 2c 20 |software|-level, |
|00000510| 74 68 61 74 20 73 65 70 | 61 72 61 74 65 73 20 74 |that sep|arates t|
|00000520| 68 65 20 3c 49 3e 69 6f | 63 74 6c 3c 2f 49 3e 20 |he <I>io|ctl</I> |
|00000530| 28 29 20 61 6e 64 20 3c | 49 3e 6f 70 65 6e 3c 2f |() and <|I>open</|
|00000540| 49 3e 28 29 0a 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |I>().imp|lementat|
|00000550| 69 6f 6e 20 66 72 6f 6d | 20 74 68 65 20 61 63 74 |ion from| the act|
|00000560| 75 61 6c 20 68 61 72 64 | 77 61 72 65 20 69 6d 70 |ual hard|ware imp|
|00000570| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 2e 20 4e 6f 74 |lementat|ion. Not|
|00000580| 65 20 74 68 61 74 20 77 | 65 0a 64 6f 20 6e 6f 74 |e that w|e.do not|
|00000590| 20 77 69 73 68 20 74 6f | 20 61 6c 74 65 72 20 74 | wish to| alter t|
|000005a0| 68 65 20 65 78 69 73 74 | 69 6e 67 20 61 70 70 6c |he exist|ing appl|
|000005b0| 69 63 61 74 69 6f 6e 20 | 69 6e 74 65 72 66 61 63 |ication |interfac|
|000005c0| 65 20 64 65 66 69 6e 65 | 64 20 69 6e 0a 3c 54 54 |e define|d in.<TT|
|000005d0| 3e 63 64 72 6f 6d 2e 68 | 3c 2f 54 54 3e 2c 20 62 |>cdrom.h|</TT>, b|
|000005e0| 75 74 20 72 61 74 68 65 | 72 20 77 61 6e 74 20 74 |ut rathe|r want t|
|000005f0| 6f 20 72 65 2d 72 6f 6f | 74 20 74 68 65 20 68 61 |o re-roo|t the ha|
|00000600| 72 64 77 61 72 65 2d 69 | 6d 70 6c 65 6d 65 6e 74 |rdware-i|mplement|
|00000610| 61 74 69 6f 6e 20 74 68 | 72 6f 75 67 68 0a 73 6f |ation th|rough.so|
|00000620| 6d 65 20 63 6f 6d 6d 6f | 6e 20 63 6f 64 65 2e 20 |me commo|n code. |
|00000630| 0a 3c 2f 54 54 3e 0a 3c | 50 3e 0a 3c 54 54 3e 57 |.</TT>.<|P>.<TT>W|
|00000640| 65 20 62 65 6c 69 65 76 | 65 20 74 68 61 74 20 43 |e believ|e that C|
|00000650| 44 3c 53 4d 41 4c 4c 3e | 52 4f 4d 3c 2f 53 4d 41 |D<SMALL>|ROM</SMA|
|00000660| 4c 4c 3e 20 64 72 69 76 | 65 73 20 61 72 65 20 73 |LL> driv|es are s|
|00000670| 70 65 63 69 66 69 63 20 | 65 6e 6f 75 67 68 20 28 |pecific |enough (|
|00000680| 69 2e 65 2e 2c 20 64 69 | 66 66 65 72 65 6e 74 0a |i.e., di|fferent.|
|00000690| 66 72 6f 6d 20 6f 74 68 | 65 72 20 62 6c 6f 63 6b |from oth|er block|
|000006a0| 2d 64 65 76 69 63 65 73 | 20 73 75 63 68 20 61 73 |-devices| such as|
|000006b0| 20 66 6c 6f 70 70 79 20 | 6f 72 20 68 61 72 64 20 | floppy |or hard |
|000006c0| 64 69 73 63 20 64 72 69 | 76 65 73 29 2c 20 74 6f |disc dri|ves), to|
|000006d0| 0a 64 65 66 69 6e 65 20 | 61 20 73 65 74 20 6f 66 |.define |a set of|
|000006e0| 20 3c 45 4d 3e 43 44 3c | 53 4d 41 4c 4c 3e 52 4f | <EM>CD<|SMALL>RO|
|000006f0| 4d 3c 2f 53 4d 41 4c 4c | 3e 20 64 65 76 69 63 65 |M</SMALL|> device|
|00000700| 20 6f 70 65 72 61 74 69 | 6f 6e 73 3c 2f 45 4d 3e | operati|ons</EM>|
|00000710| 2c 0a 3c 21 2d 2d 20 4d | 41 54 48 0a 20 24 3c 63 |,.<!-- M|ATH. $<c|
|00000720| 64 72 6f 6d 2d 64 65 76 | 69 63 65 3e 5f 64 6f 70 |drom-dev|ice>_dop|
|00000730| 73 24 0a 20 2d 2d 3e 0a | 26 6c 74 3b 20 3c 49 3e |s$. -->.|< <I>|
|00000740| 63 64 72 6f 6d 3c 2f 49 | 3e 20 2d 20 3c 49 3e 64 |cdrom</I|> - <I>d|
|00000750| 65 76 69 63 65 3c 2f 49 | 3e 20 26 67 74 3b 20 3c |evice</I|> > <|
|00000760| 53 55 42 3e 64 3c 2f 53 | 55 42 3e 3c 49 3e 6f 70 |SUB>d</S|UB><I>op|
|00000770| 73 3c 2f 49 3e 2e 20 54 | 68 65 73 65 20 61 72 65 |s</I>. T|hese are|
|00000780| 20 6f 66 20 61 20 64 69 | 66 66 65 72 65 6e 74 20 | of a di|fferent |
|00000790| 6e 61 74 75 72 65 20 74 | 68 61 6e 20 74 68 65 0a |nature t|han the.|
|000007a0| 63 6c 61 73 73 69 63 61 | 6c 20 62 6c 6f 63 6b 2d |classica|l block-|
|000007b0| 64 65 76 69 63 65 20 66 | 69 6c 65 20 6f 70 65 72 |device f|ile oper|
|000007c0| 61 74 69 6f 6e 73 20 3c | 21 2d 2d 20 4d 41 54 48 |ations <|!-- MATH|
|000007d0| 0a 20 24 3c 62 6c 6f 63 | 6b 2d 64 65 76 69 63 65 |. $<bloc|k-device|
|000007e0| 3e 5f 66 6f 70 73 24 0a | 20 2d 2d 3e 0a 26 6c 74 |>_fops$.| -->.<|
|000007f0| 3b 20 3c 49 3e 62 6c 6f | 63 6b 3c 2f 49 3e 20 2d |; <I>blo|ck</I> -|
|00000800| 20 3c 49 3e 64 65 76 69 | 63 65 3c 2f 49 3e 20 26 | <I>devi|ce</I> &|
|00000810| 67 74 3b 20 3c 53 55 42 | 3e 66 3c 2f 53 55 42 3e |gt; <SUB|>f</SUB>|
|00000820| 3c 49 3e 6f 70 73 3c 2f | 49 3e 2e 0a 3c 2f 54 54 |<I>ops</|I>..</TT|
|00000830| 3e 0a 3c 50 3e 0a 3c 54 | 54 3e 54 68 65 20 65 78 |>.<P>.<T|T>The ex|
|00000840| 74 72 61 20 69 6e 74 65 | 72 66 61 63 69 6e 67 20 |tra inte|rfacing |
|00000850| 6c 65 76 65 6c 20 72 6f | 75 74 69 6e 65 73 20 61 |level ro|utines a|
|00000860| 72 65 20 69 6d 70 6c 65 | 6d 65 6e 74 65 64 20 69 |re imple|mented i|
|00000870| 6e 20 61 20 66 69 6c 65 | 0a 3c 54 54 3e 63 64 72 |n a file|.<TT>cdr|
|00000880| 6f 6d 2e 63 3c 2f 54 54 | 3e 2c 20 61 6e 64 20 61 |om.c</TT|>, and a|
|00000890| 20 6c 6f 77 2d 6c 65 76 | 65 6c 20 43 44 3c 53 4d | low-lev|el CD<SM|
|000008a0| 41 4c 4c 3e 52 4f 4d 3c | 2f 53 4d 41 4c 4c 3e 20 |ALL>ROM<|/SMALL> |
|000008b0| 64 72 69 76 65 72 20 68 | 61 6e 64 73 20 6f 76 65 |driver h|ands ove|
|000008c0| 72 20 74 68 65 20 69 6e | 74 65 72 66 61 63 69 6e |r the in|terfacin|
|000008d0| 67 20 74 6f 0a 74 68 65 | 20 6b 65 72 6e 65 6c 20 |g to.the| kernel |
|000008e0| 62 79 20 72 65 67 69 73 | 74 65 72 69 6e 67 20 74 |by regis|tering t|
|000008f0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 67 65 6e |he follo|wing gen|
|00000900| 65 72 61 6c 20 3c 21 2d | 2d 20 4d 41 54 48 0a 20 |eral <!-|- MATH. |
|00000910| 24 73 74 72 75 63 74 5c | 20 66 69 6c 65 5f 6f 70 |$struct\| file_op|
|00000920| 65 72 61 74 69 6f 6e 73 | 24 0a 20 2d 2d 3e 0a 3c |erations|$. -->.<|
|00000930| 49 3e 73 74 72 75 63 74 | 3c 2f 49 3e 26 6e 62 73 |I>struct|</I>&nbs|
|00000940| 70 3b 3c 49 3e 66 69 6c | 65 3c 2f 49 3e 3c 53 55 |p;<I>fil|e</I><SU|
|00000950| 42 3e 6f 3c 2f 53 55 42 | 3e 3c 49 3e 70 65 72 61 |B>o</SUB|><I>pera|
|00000960| 74 69 6f 6e 73 3c 2f 49 | 3e 3a 0a 3c 2f 54 54 3e |tions</I|>:.</TT>|
|00000970| 3c 50 3e 3c 21 2d 2d 20 | 4d 41 54 48 0a 20 5c 62 |<P><!-- |MATH. \b|
|00000980| 65 67 69 6e 7b 64 69 73 | 70 6c 61 79 6d 61 74 68 |egin{dis|playmath|
|00000990| 7d 0a 5c 68 61 6c 69 67 | 6e 7b 24 23 24 5c 20 5c |}.\halig|n{$#$\ \|
|000009a0| 68 66 69 6c 26 24 23 24 | 5c 20 5c 68 66 69 6c 26 |hfil&$#$|\ \hfil&|
|000009b0| 24 2f 2a 24 20 5c 72 6d | 20 23 20 24 2a 2f 24 5c |$/*$ \rm| # $*/$\|
|000009c0| 68 66 69 6c 5c 63 72 0a | 73 74 72 75 63 74 26 20 |hfil\cr.|struct& |
|000009d0| 66 69 6c 65 5f 6f 70 65 | 72 61 74 69 6f 6e 73 5c |file_ope|rations\|
|000009e0| 20 63 64 72 6f 6d 5f 66 | 6f 70 73 20 3d 20 5c 7b | cdrom_f|ops = \{|
|000009f0| 5c 68 69 64 65 77 69 64 | 74 68 5c 63 72 0a 20 20 |\hidewid|th\cr. |
|00000a00| 20 20 20 20 20 20 26 4e | 55 4c 4c 2c 20 20 20 20 | &N|ULL, |
|00000a10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 26 20 | | & |
|00000a20| 6c 73 65 65 6b 20 5c 63 | 72 0a 20 20 20 20 20 20 |lseek \c|r. |
|00000a30| 20 20 26 62 6c 6f 63 6b | 5f 72 65 61 64 2c 20 20 | &block|_read, |
|00000a40| 20 20 20 20 20 20 20 20 | 20 20 26 20 72 65 61 64 | | & read|
|00000a50| 2d 20 2d 20 2d 67 65 6e | 65 72 61 6c 5c 20 62 6c |- - -gen|eral\ bl|
|00000a60| 6f 63 6b 2d 64 65 76 5c | 20 72 65 61 64 20 5c 63 |ock-dev\| read \c|
|00000a70| 72 0a 20 20 20 20 20 20 | 20 20 26 62 6c 6f 63 6b |r. | &block|
|00000a80| 5f 77 72 69 74 65 2c 20 | 20 20 20 20 20 20 20 20 |_write, | |
|00000a90| 20 20 26 20 77 72 69 74 | 65 2d 20 2d 20 2d 67 65 | & writ|e- - -ge|
|00000aa0| 6e 65 72 61 6c 20 62 6c | 6f 63 6b 2d 64 65 76 20 |neral bl|ock-dev |
|00000ab0| 77 72 69 74 65 20 5c 63 | 72 0a 20 20 20 20 20 20 |write \c|r. |
|00000ac0| 20 20 26 4e 55 4c 4c 2c | 20 20 20 20 20 20 20 20 | &NULL,| |
|00000ad0| 20 20 20 20 20 20 20 20 | 20 20 26 20 72 65 61 64 | | & read|
|00000ae0| 64 69 72 20 5c 63 72 0a | 20 20 20 20 20 20 20 20 |dir \cr.| |
|00000af0| 26 4e 55 4c 4c 2c 20 20 | 20 20 20 20 20 20 20 20 |&NULL, | |
|00000b00| 20 20 20 20 20 20 20 20 | 26 20 73 65 6c 65 63 74 | |& select|
|00000b10| 20 5c 63 72 0a 20 20 20 | 20 20 20 20 20 26 63 64 | \cr. | &cd|
|00000b20| 72 6f 6d 5f 69 6f 63 74 | 6c 2c 20 20 20 20 20 20 |rom_ioct|l, |
|00000b30| 20 20 20 20 20 26 20 69 | 6f 63 74 6c 20 5c 63 72 | & i|octl \cr|
|00000b40| 0a 20 20 20 20 20 20 20 | 20 26 4e 55 4c 4c 2c 20 |. | &NULL, |
|00000b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b60| 20 26 20 6d 6d 61 70 20 | 5c 63 72 0a 20 20 20 20 | & mmap |\cr. |
|00000b70| 20 20 20 20 26 63 64 72 | 6f 6d 5f 6f 70 65 6e 2c | &cdr|om_open,|
|00000b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 26 20 6f 70 | | & op|
|00000b90| 65 6e 20 5c 63 72 0a 20 | 20 20 20 20 20 20 20 26 |en \cr. | &|
|00000ba0| 63 64 72 6f 6d 5f 72 65 | 6c 65 61 73 65 2c 20 20 |cdrom_re|lease, |
|00000bb0| 20 20 20 20 20 20 20 26 | 20 72 65 6c 65 61 73 65 | &| release|
|00000bc0| 20 5c 63 72 0a 20 20 20 | 20 20 20 20 20 26 4e 55 | \cr. | &NU|
|00000bd0| 4c 4c 2c 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |LL, | |
|00000be0| 20 20 20 20 20 26 20 66 | 73 79 6e 63 20 5c 63 72 | & f|sync \cr|
|00000bf0| 0a 20 20 20 20 20 20 20 | 20 26 4e 55 4c 4c 2c 20 |. | &NULL, |
|00000c00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c10| 20 26 20 66 61 73 79 6e | 63 20 5c 63 72 0a 20 20 | & fasyn|c \cr. |
|00000c20| 20 20 20 20 20 20 26 63 | 64 72 6f 6d 5f 6d 65 64 | &c|drom_med|
|00000c30| 69 61 5f 63 68 61 6e 67 | 65 64 2c 20 20 20 26 20 |ia_chang|ed, & |
|00000c40| 6d 65 64 69 61 5f 63 68 | 61 6e 67 65 20 5c 63 72 |media_ch|ange \cr|
|00000c50| 0a 20 20 20 20 20 20 20 | 20 26 4e 55 4c 4c 20 20 |. | &NULL |
|00000c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c70| 20 26 20 72 65 76 61 6c | 69 64 61 74 65 20 5c 63 | & reval|idate \c|
|00000c80| 72 0a 5c 7d 3b 5c 63 72 | 0a 7d 0a 5c 65 6e 64 7b |r.\};\cr|.}.\end{|
|00000c90| 64 69 73 70 6c 61 79 6d | 61 74 68 7d 0a 20 2d 2d |displaym|ath}. --|
|00000ca0| 3e 0a 3c 2f 50 3e 0a 3c | 44 49 56 20 41 4c 49 47 |>.</P>.<|DIV ALIG|
|00000cb0| 4e 3d 22 43 45 4e 54 45 | 52 22 3e 0a 3c 49 4d 47 |N="CENTE|R">.<IMG|
|00000cc0| 0a 20 53 54 59 4c 45 3d | 22 22 20 53 52 43 3d 22 |. STYLE=|"" SRC="|
|00000cd0| 69 6d 67 31 2e 70 6e 67 | 22 0a 20 41 4c 54 3d 22 |img1.png|". ALT="|
|00000ce0| 24 5c 64 69 73 70 6c 61 | 79 73 74 79 6c 65 20 5c |$\displa|ystyle \|
|00000cf0| 68 61 6c 69 67 6e 24 22 | 3e 24 23 24 26 6e 62 73 |halign$"|>$#$&nbs|
|00000d00| 70 3b 20 26 61 6d 70 3b | 20 24 23 24 26 6e 62 73 |p; &| $#$&nbs|
|00000d10| 70 3b 20 26 61 6d 70 3b | 20 24 2f 2a 24 23 24 2a |p; &| $/*$#$*|
|00000d20| 2f 24 3c 49 4d 47 0a 20 | 53 54 59 4c 45 3d 22 22 |/$<IMG. |STYLE=""|
|00000d30| 20 53 52 43 3d 22 69 6d | 67 32 2e 70 6e 67 22 0a | SRC="im|g2.png".|
|00000d40| 20 41 4c 54 3d 22 24 5c | 64 69 73 70 6c 61 79 73 | ALT="$\|displays|
|00000d50| 74 79 6c 65 20 5c 63 72 | 24 22 3e 3c 49 3e 73 74 |tyle \cr|$"><I>st|
|00000d60| 72 75 63 74 3c 2f 49 3e | 20 26 61 6d 70 3b 20 3c |ruct</I>| & <|
|00000d70| 49 3e 66 69 6c 65 3c 2f | 49 3e 3c 53 55 42 3e 6f |I>file</|I><SUB>o|
|00000d80| 3c 2f 53 55 42 3e 3c 49 | 3e 70 65 72 61 74 69 6f |</SUB><I|>peratio|
|00000d90| 6e 73 3c 2f 49 3e 26 6e | 62 73 70 3b 3c 49 3e 63 |ns</I>&n|bsp;<I>c|
|00000da0| 64 72 6f 6d 3c 2f 49 3e | 3c 53 55 42 3e 66 3c 2f |drom</I>|<SUB>f</|
|00000db0| 53 55 42 3e 3c 49 3e 6f | 70 73 3c 2f 49 3e 3d 7b |SUB><I>o|ps</I>={|
|00000dc0| 3c 49 4d 47 0a 20 53 54 | 59 4c 45 3d 22 22 20 53 |<IMG. ST|YLE="" S|
|00000dd0| 52 43 3d 22 69 6d 67 33 | 2e 70 6e 67 22 0a 20 41 |RC="img3|.png". A|
|00000de0| 4c 54 3d 22 24 5c 64 69 | 73 70 6c 61 79 73 74 79 |LT="$\di|splaysty|
|00000df0| 6c 65 20 5c 68 69 64 65 | 77 69 64 74 68 24 22 3e |le \hide|width$">|
|00000e00| 3c 49 4d 47 0a 20 53 54 | 59 4c 45 3d 22 22 20 53 |<IMG. ST|YLE="" S|
|00000e10| 52 43 3d 22 69 6d 67 32 | 2e 70 6e 67 22 0a 20 41 |RC="img2|.png". A|
|00000e20| 4c 54 3d 22 24 5c 64 69 | 73 70 6c 61 79 73 74 79 |LT="$\di|splaysty|
|00000e30| 6c 65 20 5c 63 72 24 22 | 3e 20 26 61 6d 70 3b 20 |le \cr$"|> & |
|00000e40| 3c 49 3e 4e 55 4c 4c 3c | 2f 49 3e 2c 20 26 61 6d |<I>NULL<|/I>, &am|
|00000e50| 70 3b 20 3c 49 3e 6c 73 | 65 65 6b 3c 2f 49 3e 3c |p; <I>ls|eek</I><|
|00000e60| 49 4d 47 0a 20 53 54 59 | 4c 45 3d 22 22 20 53 52 |IMG. STY|LE="" SR|
|00000e70| 43 3d 22 69 6d 67 32 2e | 70 6e 67 22 0a 20 41 4c |C="img2.|png". AL|
|00000e80| 54 3d 22 24 5c 64 69 73 | 70 6c 61 79 73 74 79 6c |T="$\dis|playstyl|
|00000e90| 65 20 5c 63 72 24 22 3e | 20 26 61 6d 70 3b 20 3c |e \cr$">| & <|
|00000ea0| 49 3e 62 6c 6f 63 6b 3c | 2f 49 3e 3c 53 55 42 3e |I>block<|/I><SUB>|
|00000eb0| 72 3c 2f 53 55 42 3e 3c | 49 3e 65 61 64 3c 2f 49 |r</SUB><|I>ead</I|
|00000ec0| 3e 2c 20 26 61 6d 70 3b | 20 3c 49 3e 72 65 61 64 |>, &| <I>read|
|00000ed0| 3c 2f 49 3e 26 6d 64 61 | 73 68 3b 3c 49 3e 67 65 |</I>&mda|sh;<I>ge|
|00000ee0| 6e 65 72 61 6c 3c 2f 49 | 3e 26 6e 62 73 70 3b 3c |neral</I|> <|
|00000ef0| 49 3e 62 6c 6f 63 6b 3c | 2f 49 3e 2d 3c 49 3e 64 |I>block<|/I>-<I>d|
|00000f00| 65 76 3c 2f 49 3e 26 6e | 62 73 70 3b 3c 49 3e 72 |ev</I>&n|bsp;<I>r|
|00000f10| 65 61 64 3c 2f 49 3e 3c | 49 4d 47 0a 20 53 54 59 |ead</I><|IMG. STY|
|00000f20| 4c 45 3d 22 22 20 53 52 | 43 3d 22 69 6d 67 32 2e |LE="" SR|C="img2.|
|00000f30| 70 6e 67 22 0a 20 41 4c | 54 3d 22 24 5c 64 69 73 |png". AL|T="$\dis|
|00000f40| 70 6c 61 79 73 74 79 6c | 65 20 5c 63 72 24 22 3e |playstyl|e \cr$">|
|00000f50| 20 26 61 6d 70 3b 20 3c | 49 3e 62 6c 6f 63 6b 3c | & <|I>block<|
|00000f60| 2f 49 3e 3c 53 55 42 3e | 77 3c 2f 53 55 42 3e 3c |/I><SUB>|w</SUB><|
|00000f70| 49 3e 72 69 74 65 3c 2f | 49 3e 2c 20 26 61 6d 70 |I>rite</|I>, &|
|00000f80| 3b 20 3c 49 3e 77 72 69 | 74 65 3c 2f 49 3e 26 6d |; <I>wri|te</I>&m|
|00000f90| 64 61 73 68 3b 3c 49 3e | 67 65 6e 65 72 61 6c 62 |dash;<I>|generalb|
|00000fa0| 6c 6f 63 6b 3c 2f 49 3e | 2d 3c 49 3e 64 65 76 77 |lock</I>|-<I>devw|
|00000fb0| 72 69 74 65 3c 2f 49 3e | 3c 49 4d 47 0a 20 53 54 |rite</I>|<IMG. ST|
|00000fc0| 59 4c 45 3d 22 22 20 53 | 52 43 3d 22 69 6d 67 32 |YLE="" S|RC="img2|
|00000fd0| 2e 70 6e 67 22 0a 20 41 | 4c 54 3d 22 24 5c 64 69 |.png". A|LT="$\di|
|00000fe0| 73 70 6c 61 79 73 74 79 | 6c 65 20 5c 63 72 24 22 |splaysty|le \cr$"|
|00000ff0| 3e 20 26 61 6d 70 3b 20 | 3c 49 3e 4e 55 4c 4c 3c |> & |<I>NULL<|
|00001000| 2f 49 3e 2c 20 26 61 6d | 70 3b 20 3c 49 3e 72 65 |/I>, &am|p; <I>re|
|00001010| 61 64 64 69 72 3c 2f 49 | 3e 3c 49 4d 47 0a 20 53 |addir</I|><IMG. S|
|00001020| 54 59 4c 45 3d 22 22 20 | 53 52 43 3d 22 69 6d 67 |TYLE="" |SRC="img|
|00001030| 32 2e 70 6e 67 22 0a 20 | 41 4c 54 3d 22 24 5c 64 |2.png". |ALT="$\d|
|00001040| 69 73 70 6c 61 79 73 74 | 79 6c 65 20 5c 63 72 24 |isplayst|yle \cr$|
|00001050| 22 3e 20 26 61 6d 70 3b | 20 3c 49 3e 4e 55 4c 4c |"> &| <I>NULL|
|00001060| 3c 2f 49 3e 2c 20 26 61 | 6d 70 3b 20 3c 49 3e 73 |</I>, &a|mp; <I>s|
|00001070| 65 6c 65 63 74 3c 2f 49 | 3e 3c 49 4d 47 0a 20 53 |elect</I|><IMG. S|
|00001080| 54 59 4c 45 3d 22 22 20 | 53 52 43 3d 22 69 6d 67 |TYLE="" |SRC="img|
|00001090| 32 2e 70 6e 67 22 0a 20 | 41 4c 54 3d 22 24 5c 64 |2.png". |ALT="$\d|
|000010a0| 69 73 70 6c 61 79 73 74 | 79 6c 65 20 5c 63 72 24 |isplayst|yle \cr$|
|000010b0| 22 3e 20 26 61 6d 70 3b | 20 3c 49 3e 63 64 72 6f |"> &| <I>cdro|
|000010c0| 6d 3c 2f 49 3e 3c 53 55 | 42 3e 69 3c 2f 53 55 42 |m</I><SU|B>i</SUB|
|000010d0| 3e 3c 49 3e 6f 63 74 6c | 3c 2f 49 3e 2c 20 26 61 |><I>octl|</I>, &a|
|000010e0| 6d 70 3b 20 3c 49 3e 69 | 6f 63 74 6c 3c 2f 49 3e |mp; <I>i|octl</I>|
|000010f0| 3c 49 4d 47 0a 20 53 54 | 59 4c 45 3d 22 22 20 53 |<IMG. ST|YLE="" S|
|00001100| 52 43 3d 22 69 6d 67 32 | 2e 70 6e 67 22 0a 20 41 |RC="img2|.png". A|
|00001110| 4c 54 3d 22 24 5c 64 69 | 73 70 6c 61 79 73 74 79 |LT="$\di|splaysty|
|00001120| 6c 65 20 5c 63 72 24 22 | 3e 20 26 61 6d 70 3b 20 |le \cr$"|> & |
|00001130| 3c 49 3e 4e 55 4c 4c 3c | 2f 49 3e 2c 20 26 61 6d |<I>NULL<|/I>, &am|
|00001140| 70 3b 20 3c 49 3e 6d 6d | 61 70 3c 2f 49 3e 3c 49 |p; <I>mm|ap</I><I|
|00001150| 4d 47 0a 20 53 54 59 4c | 45 3d 22 22 20 53 52 43 |MG. STYL|E="" SRC|
|00001160| 3d 22 69 6d 67 32 2e 70 | 6e 67 22 0a 20 41 4c 54 |="img2.p|ng". ALT|
|00001170| 3d 22 24 5c 64 69 73 70 | 6c 61 79 73 74 79 6c 65 |="$\disp|laystyle|
|00001180| 20 5c 63 72 24 22 3e 20 | 26 61 6d 70 3b 20 3c 49 | \cr$"> |& <I|
|00001190| 3e 63 64 72 6f 6d 3c 2f | 49 3e 3c 53 55 42 3e 6f |>cdrom</|I><SUB>o|
|000011a0| 3c 2f 53 55 42 3e 3c 49 | 3e 70 65 6e 3c 2f 49 3e |</SUB><I|>pen</I>|
|000011b0| 2c 20 26 61 6d 70 3b 20 | 3c 49 3e 6f 70 65 6e 3c |, & |<I>open<|
|000011c0| 2f 49 3e 3c 49 4d 47 0a | 20 53 54 59 4c 45 3d 22 |/I><IMG.| STYLE="|
|000011d0| 22 20 53 52 43 3d 22 69 | 6d 67 32 2e 70 6e 67 22 |" SRC="i|mg2.png"|
|000011e0| 0a 20 41 4c 54 3d 22 24 | 5c 64 69 73 70 6c 61 79 |. ALT="$|\display|
|000011f0| 73 74 79 6c 65 20 5c 63 | 72 24 22 3e 20 26 61 6d |style \c|r$"> &am|
|00001200| 70 3b 20 3c 49 3e 63 64 | 72 6f 6d 3c 2f 49 3e 3c |p; <I>cd|rom</I><|
|00001210| 53 55 42 3e 72 3c 2f 53 | 55 42 3e 3c 49 3e 65 6c |SUB>r</S|UB><I>el|
|00001220| 65 61 73 65 3c 2f 49 3e | 2c 20 26 61 6d 70 3b 20 |ease</I>|, & |
|00001230| 3c 49 3e 72 65 6c 65 61 | 73 65 3c 2f 49 3e 3c 49 |<I>relea|se</I><I|
|00001240| 4d 47 0a 20 53 54 59 4c | 45 3d 22 22 20 53 52 43 |MG. STYL|E="" SRC|
|00001250| 3d 22 69 6d 67 32 2e 70 | 6e 67 22 0a 20 41 4c 54 |="img2.p|ng". ALT|
|00001260| 3d 22 24 5c 64 69 73 70 | 6c 61 79 73 74 79 6c 65 |="$\disp|laystyle|
|00001270| 20 5c 63 72 24 22 3e 20 | 26 61 6d 70 3b 20 3c 49 | \cr$"> |& <I|
|00001280| 3e 4e 55 4c 4c 3c 2f 49 | 3e 2c 20 26 61 6d 70 3b |>NULL</I|>, &|
|00001290| 20 3c 49 3e 66 73 79 6e | 63 3c 2f 49 3e 3c 49 4d | <I>fsyn|c</I><IM|
|000012a0| 47 0a 20 53 54 59 4c 45 | 3d 22 22 20 53 52 43 3d |G. STYLE|="" SRC=|
|000012b0| 22 69 6d 67 32 2e 70 6e | 67 22 0a 20 41 4c 54 3d |"img2.pn|g". ALT=|
|000012c0| 22 24 5c 64 69 73 70 6c | 61 79 73 74 79 6c 65 20 |"$\displ|aystyle |
|000012d0| 5c 63 72 24 22 3e 20 26 | 61 6d 70 3b 20 3c 49 3e |\cr$"> &|amp; <I>|
|000012e0| 4e 55 4c 4c 3c 2f 49 3e | 2c 20 26 61 6d 70 3b 20 |NULL</I>|, & |
|000012f0| 3c 49 3e 66 61 73 79 6e | 63 3c 2f 49 3e 3c 49 4d |<I>fasyn|c</I><IM|
|00001300| 47 0a 20 53 54 59 4c 45 | 3d 22 22 20 53 52 43 3d |G. STYLE|="" SRC=|
|00001310| 22 69 6d 67 32 2e 70 6e | 67 22 0a 20 41 4c 54 3d |"img2.pn|g". ALT=|
|00001320| 22 24 5c 64 69 73 70 6c | 61 79 73 74 79 6c 65 20 |"$\displ|aystyle |
|00001330| 5c 63 72 24 22 3e 20 26 | 61 6d 70 3b 20 3c 49 3e |\cr$"> &|amp; <I>|
|00001340| 63 64 72 6f 6d 3c 2f 49 | 3e 3c 53 55 42 3e 6d 3c |cdrom</I|><SUB>m<|
|00001350| 2f 53 55 42 3e 3c 49 3e | 65 64 69 61 3c 2f 49 3e |/SUB><I>|edia</I>|
|00001360| 3c 53 55 42 3e 63 3c 2f | 53 55 42 3e 3c 49 3e 68 |<SUB>c</|SUB><I>h|
|00001370| 61 6e 67 65 64 3c 2f 49 | 3e 2c 20 26 61 6d 70 3b |anged</I|>, &|
|00001380| 20 3c 49 3e 6d 65 64 69 | 61 3c 2f 49 3e 3c 53 55 | <I>medi|a</I><SU|
|00001390| 42 3e 63 3c 2f 53 55 42 | 3e 3c 49 3e 68 61 6e 67 |B>c</SUB|><I>hang|
|000013a0| 65 3c 2f 49 3e 3c 49 4d | 47 0a 20 53 54 59 4c 45 |e</I><IM|G. STYLE|
|000013b0| 3d 22 22 20 53 52 43 3d | 22 69 6d 67 32 2e 70 6e |="" SRC=|"img2.pn|
|000013c0| 67 22 0a 20 41 4c 54 3d | 22 24 5c 64 69 73 70 6c |g". ALT=|"$\displ|
|000013d0| 61 79 73 74 79 6c 65 20 | 5c 63 72 24 22 3e 20 26 |aystyle |\cr$"> &|
|000013e0| 61 6d 70 3b 20 3c 49 3e | 4e 55 4c 4c 3c 2f 49 3e |amp; <I>|NULL</I>|
|000013f0| 20 26 61 6d 70 3b 20 3c | 49 3e 72 65 76 61 6c 69 | & <|I>revali|
|00001400| 64 61 74 65 3c 2f 49 3e | 3c 49 4d 47 0a 20 53 54 |date</I>|<IMG. ST|
|00001410| 59 4c 45 3d 22 22 20 53 | 52 43 3d 22 69 6d 67 32 |YLE="" S|RC="img2|
|00001420| 2e 70 6e 67 22 0a 20 41 | 4c 54 3d 22 24 5c 64 69 |.png". A|LT="$\di|
|00001430| 73 70 6c 61 79 73 74 79 | 6c 65 20 5c 63 72 24 22 |splaysty|le \cr$"|
|00001440| 3e 7d 3b 3c 49 4d 47 0a | 20 53 54 59 4c 45 3d 22 |>};<IMG.| STYLE="|
|00001450| 22 20 53 52 43 3d 22 69 | 6d 67 32 2e 70 6e 67 22 |" SRC="i|mg2.png"|
|00001460| 0a 20 41 4c 54 3d 22 24 | 5c 64 69 73 70 6c 61 79 |. ALT="$|\display|
|00001470| 73 74 79 6c 65 20 5c 63 | 72 24 22 3e 0a 3c 2f 44 |style \c|r$">.</D|
|00001480| 49 56 3e 3c 50 3e 3c 2f | 50 3e 3c 54 54 3e 0a 45 |IV><P></|P><TT>.E|
|00001490| 76 65 72 79 20 61 63 74 | 69 76 65 20 43 44 3c 53 |very act|ive CD<S|
|000014a0| 4d 41 4c 4c 3e 52 4f 4d | 3c 2f 53 4d 41 4c 4c 3e |MALL>ROM|</SMALL>|
|000014b0| 20 64 65 76 69 63 65 20 | 73 68 61 72 65 73 20 74 | device |shares t|
|000014c0| 68 69 73 20 3c 49 3e 73 | 74 72 75 63 74 3c 2f 49 |his <I>s|truct</I|
|000014d0| 3e 2e 20 54 68 65 20 72 | 6f 75 74 69 6e 65 73 20 |>. The r|outines |
|000014e0| 64 65 63 6c 61 72 65 64 | 0a 61 62 6f 76 65 20 61 |declared|.above a|
|000014f0| 72 65 20 61 6c 6c 20 69 | 6d 70 6c 65 6d 65 6e 74 |re all i|mplement|
|00001500| 65 64 20 69 6e 20 3c 54 | 54 3e 63 64 72 6f 6d 2e |ed in <T|T>cdrom.|
|00001510| 63 3c 2f 54 54 3e 2c 20 | 61 6e 64 20 74 68 69 73 |c</TT>, |and this|
|00001520| 20 69 73 20 74 68 65 20 | 70 6c 61 63 65 20 77 68 | is the |place wh|
|00001530| 65 72 65 20 74 68 65 0a | 3c 45 4d 3e 62 65 68 61 |ere the.|<EM>beha|
|00001540| 76 69 6f 72 3c 2f 45 4d | 3e 20 6f 66 20 61 6c 6c |vior</EM|> of all|
|00001550| 20 43 44 3c 53 4d 41 4c | 4c 3e 52 4f 4d 3c 2f 53 | CD<SMAL|L>ROM</S|
|00001560| 4d 41 4c 4c 3e 2d 64 65 | 76 69 63 65 73 20 69 73 |MALL>-de|vices is|
|00001570| 20 64 65 66 69 6e 65 64 | 2c 20 61 6e 64 20 68 65 | defined|, and he|
|00001580| 6e 63 65 0a 73 74 61 6e | 64 61 72 64 69 7a 65 64 |nce.stan|dardized|
|00001590| 2e 20 54 68 65 20 69 6d | 70 6c 65 6d 65 6e 74 61 |. The im|plementa|
|000015a0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 69 6e 74 65 |tion of |the inte|
|000015b0| 72 66 61 63 69 6e 67 20 | 74 6f 20 74 68 65 20 76 |rfacing |to the v|
|000015c0| 61 72 69 6f 75 73 0a 74 | 79 70 65 73 20 6f 66 20 |arious.t|ypes of |
|000015d0| 68 61 72 64 77 61 72 65 | 20 73 74 69 6c 6c 20 69 |hardware| still i|
|000015e0| 73 20 64 6f 6e 65 20 62 | 79 20 74 68 65 20 76 61 |s done b|y the va|
|000015f0| 72 69 6f 75 73 20 43 44 | 3c 53 4d 41 4c 4c 3e 52 |rious CD|<SMALL>R|
|00001600| 4f 4d 3c 2f 53 4d 41 4c | 4c 3e 2d 64 65 76 69 63 |OM</SMAL|L>-devic|
|00001610| 65 20 64 72 69 76 65 72 | 73 2c 0a 62 75 74 20 74 |e driver|s,.but t|
|00001620| 68 65 73 65 20 72 6f 75 | 74 69 6e 65 73 20 6f 6e |hese rou|tines on|
|00001630| 6c 79 20 69 6d 70 6c 65 | 6d 65 6e 74 20 63 65 72 |ly imple|ment cer|
|00001640| 74 61 69 6e 20 3c 45 4d | 3e 63 61 70 61 62 69 6c |tain <EM|>capabil|
|00001650| 69 74 69 65 73 3c 2f 45 | 4d 3e 20 74 68 61 74 0a |ities</E|M> that.|
|00001660| 61 72 65 20 74 79 70 69 | 63 61 6c 20 74 6f 20 43 |are typi|cal to C|
|00001670| 44 3c 53 4d 41 4c 4c 3e | 52 4f 4d 3c 2f 53 4d 41 |D<SMALL>|ROM</SMA|
|00001680| 4c 4c 3e 20 28 72 65 6d | 6f 76 61 62 6c 65 2d 6d |LL> (rem|ovable-m|
|00001690| 65 64 69 61 29 20 64 65 | 76 69 63 65 73 2e 0a 3c |edia) de|vices..<|
|000016a0| 2f 54 54 3e 0a 3c 50 3e | 0a 3c 54 54 3e 52 65 67 |/TT>.<P>|.<TT>Reg|
|000016b0| 69 73 74 72 61 74 69 6f | 6e 20 6f 66 20 74 68 65 |istratio|n of the|
|000016c0| 20 43 44 3c 53 4d 41 4c | 4c 3e 52 4f 4d 3c 2f 53 | CD<SMAL|L>ROM</S|
|000016d0| 4d 41 4c 4c 3e 20 64 65 | 76 69 63 65 20 64 72 69 |MALL> de|vice dri|
|000016e0| 76 65 72 20 73 68 6f 75 | 6c 64 20 6e 6f 77 20 62 |ver shou|ld now b|
|000016f0| 65 20 74 6f 20 74 68 65 | 20 67 65 6e 65 72 61 6c |e to the| general|
|00001700| 0a 72 6f 75 74 69 6e 65 | 73 20 69 6e 20 3c 54 54 |.routine|s in <TT|
|00001710| 3e 63 64 72 6f 6d 2e 63 | 3c 2f 54 54 3e 2c 20 6e |>cdrom.c|</TT>, n|
|00001720| 6f 74 20 74 6f 20 74 68 | 65 20 56 46 53 20 61 6e |ot to th|e VFS an|
|00001730| 79 20 6d 6f 72 65 2e 20 | 54 68 69 73 20 69 73 20 |y more. |This is |
|00001740| 64 6f 6e 65 20 74 68 6f | 75 67 68 20 74 68 65 0a |done tho|ugh the.|
|00001750| 63 61 6c 6c 0a 3c 2f 54 | 54 3e 3c 50 3e 3c 21 2d |call.</T|T><P><!-|
|00001760| 2d 20 4d 41 54 48 0a 20 | 5c 62 65 67 69 6e 7b 64 |- MATH. |\begin{d|
|00001770| 69 73 70 6c 61 79 6d 61 | 74 68 7d 0a 72 65 67 69 |isplayma|th}.regi|
|00001780| 73 74 65 72 5f 63 64 72 | 6f 6d 28 69 6e 74 5c 20 |ster_cdr|om(int\ |
|00001790| 6d 61 6a 6f 72 2c 20 63 | 68 61 72 20 2a 20 6e 61 |major, c|har * na|
|000017a0| 6d 65 2c 0a 20 20 73 74 | 72 75 63 74 5c 20 63 64 |me,. st|ruct\ cd|
|000017b0| 72 6f 6d 5f 64 65 76 69 | 63 65 5f 6f 70 73 5c 20 |rom_devi|ce_ops\ |
|000017c0| 64 65 76 69 63 65 5f 6f | 70 74 69 6f 6e 73 29 0a |device_o|ptions).|
|000017d0| 5c 65 6e 64 7b 64 69 73 | 70 6c 61 79 6d 61 74 68 |\end{dis|playmath|
|000017e0| 7d 0a 20 2d 2d 3e 0a 3c | 2f 50 3e 0a 3c 44 49 56 |}. -->.<|/P>.<DIV|
|000017f0| 20 41 4c 49 47 4e 3d 22 | 43 45 4e 54 45 52 22 3e | ALIGN="|CENTER">|
|00001800| 0a 3c 49 3e 72 65 67 69 | 73 74 65 72 3c 2f 49 3e |.<I>regi|ster</I>|
|00001810| 3c 53 55 42 3e 63 3c 2f | 53 55 42 3e 3c 49 3e 64 |<SUB>c</|SUB><I>d|
|00001820| 72 6f 6d 3c 2f 49 3e 28 | 3c 49 3e 69 6e 74 3c 2f |rom</I>(|<I>int</|
|00001830| 49 3e 26 6e 62 73 70 3b | 3c 49 3e 6d 61 6a 6f 72 |I> |<I>major|
|00001840| 3c 2f 49 3e 2c 20 3c 49 | 3e 63 68 61 72 3c 2f 49 |</I>, <I|>char</I|
|00001850| 3e 2a 3c 49 3e 6e 61 6d | 65 3c 2f 49 3e 2c 20 3c |>*<I>nam|e</I>, <|
|00001860| 49 3e 73 74 72 75 63 74 | 3c 2f 49 3e 26 6e 62 73 |I>struct|</I>&nbs|
|00001870| 70 3b 3c 49 3e 63 64 72 | 6f 6d 3c 2f 49 3e 3c 53 |p;<I>cdr|om</I><S|
|00001880| 55 42 3e 64 3c 2f 53 55 | 42 3e 3c 49 3e 65 76 69 |UB>d</SU|B><I>evi|
|00001890| 63 65 3c 2f 49 3e 3c 53 | 55 42 3e 6f 3c 2f 53 55 |ce</I><S|UB>o</SU|
|000018a0| 42 3e 3c 49 3e 70 73 3c | 2f 49 3e 26 6e 62 73 70 |B><I>ps<|/I> |
|000018b0| 3b 3c 49 3e 64 65 76 69 | 63 65 3c 2f 49 3e 3c 53 |;<I>devi|ce</I><S|
|000018c0| 55 42 3e 6f 3c 2f 53 55 | 42 3e 3c 49 3e 70 74 69 |UB>o</SU|B><I>pti|
|000018d0| 6f 6e 73 3c 2f 49 3e 29 | 0a 3c 2f 44 49 56 3e 3c |ons</I>)|.</DIV><|
|000018e0| 50 3e 3c 2f 50 3e 0a 3c | 50 3e 0a 3c 54 54 3e 54 |P></P>.<|P>.<TT>T|
|000018f0| 68 65 20 64 65 76 69 63 | 65 20 6f 70 65 72 61 74 |he devic|e operat|
|00001900| 69 6f 6e 73 20 73 74 72 | 75 63 74 75 72 65 20 6c |ions str|ucture l|
|00001910| 69 73 74 73 20 74 68 65 | 20 69 6d 70 6c 65 6d 65 |ists the| impleme|
|00001920| 6e 74 65 64 20 72 6f 75 | 74 69 6e 65 73 20 66 6f |nted rou|tines fo|
|00001930| 72 0a 69 6e 74 65 72 66 | 61 63 69 6e 67 20 74 6f |r.interf|acing to|
|00001940| 20 74 68 65 20 68 61 72 | 64 77 61 72 65 2c 20 61 | the har|dware, a|
|00001950| 6e 64 20 73 6f 6d 65 20 | 73 70 65 63 69 66 69 63 |nd some |specific|
|00001960| 61 74 69 6f 6e 73 20 6f | 66 20 63 61 70 61 62 69 |ations o|f capabi|
|00001970| 6c 69 74 69 65 73 0a 6f | 66 20 74 68 65 20 64 65 |lities.o|f the de|
|00001980| 76 69 63 65 2c 20 73 75 | 63 68 20 61 73 20 74 68 |vice, su|ch as th|
|00001990| 65 20 6d 61 78 69 6d 75 | 6d 20 68 65 61 64 2d 74 |e maximu|m head-t|
|000019a0| 72 61 6e 73 66 65 72 20 | 72 61 74 65 2e 20 20 5b |ransfer |rate. [|
|000019b0| 49 74 20 69 73 0a 69 6d | 70 6f 73 73 69 62 6c 65 |It is.im|possible|
|000019c0| 20 74 6f 20 63 6f 6d 65 | 20 75 70 20 77 69 74 68 | to come| up with|
|000019d0| 20 61 20 63 6f 6d 70 6c | 65 74 65 20 6c 69 73 74 | a compl|ete list|
|000019e0| 20 6f 66 20 61 6c 6c 20 | 63 61 70 61 62 69 6c 69 | of all |capabili|
|000019f0| 74 69 65 73 20 6f 66 0a | 28 66 75 74 75 72 65 29 |ties of.|(future)|
|00001a00| 20 43 44 3c 53 4d 41 4c | 4c 3e 52 4f 4d 3c 2f 53 | CD<SMAL|L>ROM</S|
|00001a10| 4d 41 4c 4c 3e 20 64 72 | 69 76 65 73 2c 20 61 73 |MALL> dr|ives, as|
|00001a20| 20 74 68 65 20 64 65 76 | 65 6c 6f 70 6d 65 6e 74 | the dev|elopment|
|00001a30| 73 20 69 6e 20 74 65 63 | 68 6e 6f 6c 6f 67 79 20 |s in tec|hnology |
|00001a40| 66 6f 6c 6c 6f 77 2d 75 | 70 0a 61 74 20 61 6e 20 |follow-u|p.at an |
|00001a50| 69 6e 63 72 65 64 69 62 | 6c 65 20 72 61 74 65 2e |incredib|le rate.|
|00001a60| 20 4d 61 79 62 65 20 77 | 72 69 74 65 2d 6f 70 65 | Maybe w|rite-ope|
|00001a70| 72 61 74 69 6f 6e 20 28 | 57 4f 52 4d 20 64 65 76 |ration (|WORM dev|
|00001a80| 69 63 65 73 29 20 77 69 | 6c 6c 0a 62 65 63 6f 6d |ices) wi|ll.becom|
|00001a90| 65 20 76 65 72 79 20 70 | 6f 70 75 6c 61 72 20 69 |e very p|opular i|
|00001aa0| 6e 20 74 68 65 20 66 75 | 74 75 72 65 2e 5d 20 20 |n the fu|ture.] |
|00001ab0| 54 68 65 20 6c 69 73 74 | 20 6e 6f 77 20 69 73 3a |The list| now is:|
|00001ac0| 0a 3c 2f 54 54 3e 3c 50 | 3e 3c 21 2d 2d 20 4d 41 |.</TT><P|><!-- MA|
|00001ad0| 54 48 0a 20 5c 62 65 67 | 69 6e 7b 64 69 73 70 6c |TH. \beg|in{displ|
|00001ae0| 61 79 6d 61 74 68 7d 0a | 5c 68 61 6c 69 67 6e 7b |aymath}.|\halign{|
|00001af0| 24 23 24 5c 20 5c 68 66 | 69 6c 26 24 23 24 5c 20 |$#$\ \hf|il&$#$\ |
|00001b00| 5c 68 66 69 6c 26 5c 68 | 62 6f 78 20 74 6f 20 31 |\hfil&\h|box to 1|
|00001b10| 30 65 6d 7b 24 23 24 5c | 68 73 73 7d 26 0a 20 20 |0em{$#$\|hss}&. |
|00001b20| 24 2f 2a 24 20 5c 72 6d | 20 23 20 24 2a 2f 24 5c |$/*$ \rm| # $*/$\|
|00001b30| 68 66 69 6c 5c 63 72 0a | 73 74 72 75 63 74 26 20 |hfil\cr.|struct& |
|00001b40| 63 64 72 6f 6d 5f 64 65 | 76 69 63 65 5f 6f 70 73 |cdrom_de|vice_ops|
|00001b50| 5c 20 5c 7b 20 5c 68 69 | 64 65 77 69 64 74 68 5c |\ \{ \hi|dewidth\|
|00001b60| 63 72 0a 20 20 26 69 6e | 74 26 20 28 2a 20 6f 70 |cr. &in|t& (* op|
|00001b70| 65 6e 29 28 6b 64 65 76 | 5f 74 2c 20 69 6e 74 29 |en)(kdev|_t, int)|
|00001b80| 5c 63 72 0a 20 20 26 76 | 6f 69 64 26 20 28 2a 20 |\cr. &v|oid& (* |
|00001b90| 72 65 6c 65 61 73 65 29 | 28 6b 64 65 76 5f 74 29 |release)|(kdev_t)|
|00001ba0| 3b 5c 63 72 0a 20 20 26 | 69 6e 74 26 20 28 2a 20 |;\cr. &|int& (* |
|00001bb0| 6f 70 65 6e 5f 66 69 6c | 65 73 29 28 6b 64 65 76 |open_fil|es)(kdev|
|00001bc0| 5f 74 29 3b 20 20 5c 63 | 72 0a 20 20 26 69 6e 74 |_t); \c|r. &int|
|00001bd0| 26 20 28 2a 20 64 72 69 | 76 65 5f 73 74 61 74 75 |& (* dri|ve_statu|
|00001be0| 73 29 28 6b 64 65 76 5f | 74 29 3b 5c 63 72 20 20 |s)(kdev_|t);\cr |
|00001bf0| 20 20 20 0a 20 20 26 69 | 6e 74 26 20 28 2a 20 64 | . &i|nt& (* d|
|00001c00| 69 73 63 5f 73 74 61 74 | 75 73 29 28 6b 64 65 76 |isc_stat|us)(kdev|
|00001c10| 5f 74 29 3b 5c 63 72 20 | 20 20 20 20 20 0a 20 20 |_t);\cr | . |
|00001c20| 26 69 6e 74 26 20 28 2a | 20 6d 65 64 69 61 5f 63 |&int& (*| media_c|
|00001c30| 68 61 6e 67 65 64 29 28 | 6b 64 65 76 5f 74 29 3b |hanged)(|kdev_t);|
|00001c40| 5c 63 72 20 0a 20 20 26 | 69 6e 74 26 20 28 2a 20 |\cr . &|int& (* |
|00001c50| 74 72 61 79 5f 6d 6f 76 | 65 29 28 6b 64 65 76 5f |tray_mov|e)(kdev_|
|00001c60| 74 2c 20 69 6e 74 29 3b | 5c 63 72 0a 20 20 26 69 |t, int);|\cr. &i|
|00001c70| 6e 74 26 20 28 2a 20 6c | 6f 63 6b 5f 64 6f 6f 72 |nt& (* l|ock_door|
|00001c80| 29 28 6b 64 65 76 5f 74 | 2c 20 69 6e 74 29 3b 5c |)(kdev_t|, int);\|
|00001c90| 63 72 0a 20 20 26 69 6e | 74 26 20 28 2a 20 73 65 |cr. &in|t& (* se|
|00001ca0| 6c 65 63 74 5f 73 70 65 | 65 64 29 28 6b 64 65 76 |lect_spe|ed)(kdev|
|00001cb0| 5f 74 2c 20 69 6e 74 29 | 3b 5c 63 72 0a 20 20 26 |_t, int)|;\cr. &|
|00001cc0| 69 6e 74 26 20 28 2a 20 | 73 65 6c 65 63 74 5f 64 |int& (* |select_d|
|00001cd0| 69 73 63 29 28 6b 64 65 | 76 5f 74 2c 20 69 6e 74 |isc)(kde|v_t, int|
|00001ce0| 29 3b 5c 63 72 0a 20 20 | 26 69 6e 74 26 20 28 2a |);\cr. |&int& (*|
|00001cf0| 20 67 65 74 5f 6c 61 73 | 74 5f 73 65 73 73 69 6f | get_las|t_sessio|
|00001d00| 6e 29 20 28 6b 64 65 76 | 5f 74 2c 20 73 74 72 75 |n) (kdev|_t, stru|
|00001d10| 63 74 5c 20 63 64 72 6f | 6d 5f 6d 75 6c 74 69 73 |ct\ cdro|m_multis|
|00001d20| 65 73 73 69 6f 6e 20 2a | 7b 7d 29 3b 5c 63 72 0a |ession *|{});\cr.|
|00001d30| 20 20 26 69 6e 74 26 20 | 28 2a 20 67 65 74 5f 6d | &int& |(* get_m|
|00001d40| 63 6e 29 28 6b 64 65 76 | 5f 74 2c 20 73 74 72 75 |cn)(kdev|_t, stru|
|00001d50| 63 74 5c 20 63 64 72 6f | 6d 5f 6d 63 6e 20 2a 7b |ct\ cdro|m_mcn *{|
|00001d60| 7d 29 3b 5c 63 72 0a 20 | 20 26 69 6e 74 26 20 28 |});\cr. | &int& (|
|00001d70| 2a 20 72 65 73 65 74 29 | 28 6b 64 65 76 5f 74 29 |* reset)|(kdev_t)|
|00001d80| 3b 5c 63 72 0a 20 20 26 | 69 6e 74 26 20 28 2a 20 |;\cr. &|int& (* |
|00001d90| 61 75 64 69 6f 5f 69 6f | 63 74 6c 29 28 6b 64 65 |audio_io|ctl)(kde|
|00001da0| 76 5f 74 2c 20 75 6e 73 | 69 67 6e 65 64 5c 20 69 |v_t, uns|igned\ i|
|00001db0| 6e 74 2c 20 76 6f 69 64 | 20 2a 7b 7d 29 3b 5c 63 |nt, void| *{});\c|
|00001dc0| 72 20 0a 20 20 26 69 6e | 74 26 20 28 2a 20 64 65 |r . &in|t& (* de|
|00001dd0| 76 5f 69 6f 63 74 6c 29 | 28 6b 64 65 76 5f 74 2c |v_ioctl)|(kdev_t,|
|00001de0| 20 75 6e 73 69 67 6e 65 | 64 5c 20 69 6e 74 2c 20 | unsigne|d\ int, |
|00001df0| 75 6e 73 69 67 6e 65 64 | 5c 20 6c 6f 6e 67 29 3b |unsigned|\ long);|
|00001e00| 5c 63 72 0a 5c 6e 6f 61 | 6c 69 67 6e 7b 5c 6d 65 |\cr.\noa|lign{\me|
|00001e10| 64 73 6b 69 70 20 7d 0a | 20 20 26 5c 6c 6c 61 70 |dskip }.| &\llap|
|00001e20| 7b 63 6f 6e 73 74 5c 20 | 7d 69 6e 74 26 20 63 61 |{const\ |}int& ca|
|00001e30| 70 61 62 69 6c 69 74 79 | 3b 26 20 20 63 61 70 61 |pability|;& capa|
|00001e40| 62 69 6c 69 74 79 20 66 | 6c 61 67 73 20 5c 63 72 |bility f|lags \cr|
|00001e50| 0a 20 20 26 69 6e 74 26 | 20 6d 61 73 6b 3b 26 20 |. &int&| mask;& |
|00001e60| 6d 61 73 6b 20 6f 66 20 | 63 61 70 61 62 69 6c 69 |mask of |capabili|
|00001e70| 74 79 3a 20 64 69 73 61 | 62 6c 65 73 20 74 68 65 |ty: disa|bles the|
|00001e80| 6d 20 5c 63 72 0a 20 20 | 26 5c 6c 6c 61 70 7b 24 |m \cr. |&\llap{$|
|00001e90| 63 6f 6e 73 74 5c 20 24 | 7d 69 6e 74 26 20 73 70 |const\ $|}int& sp|
|00001ea0| 65 65 64 3b 26 20 20 6d | 61 78 69 6d 75 6d 20 73 |eed;& m|aximum s|
|00001eb0| 70 65 65 64 20 66 6f 72 | 20 72 65 61 64 69 6e 67 |peed for| reading|
|00001ec0| 20 64 61 74 61 20 5c 63 | 72 0a 20 20 26 5c 6c 6c | data \c|r. &\ll|
|00001ed0| 61 70 7b 24 63 6f 6e 73 | 74 5c 20 24 7d 69 6e 74 |ap{$cons|t\ $}int|
|00001ee0| 26 20 6d 69 6e 6f 72 73 | 3b 26 20 6e 75 6d 62 65 |& minors|;& numbe|
|00001ef0| 72 20 6f 66 20 73 75 70 | 70 6f 72 74 65 64 20 6d |r of sup|ported m|
|00001f00| 69 6e 6f 72 20 64 65 76 | 69 63 65 73 20 5c 63 72 |inor dev|ices \cr|
|00001f10| 0a 20 20 26 5c 6c 6c 61 | 70 7b 24 63 6f 6e 73 74 |. &\lla|p{$const|
|00001f20| 5c 20 24 7d 69 6e 74 26 | 20 63 61 70 61 63 69 74 |\ $}int&| capacit|
|00001f30| 79 3b 26 20 6e 75 6d 62 | 65 72 20 6f 66 20 64 69 |y;& numb|er of di|
|00001f40| 73 63 73 20 69 6e 20 6a | 75 6b 65 62 6f 78 20 5c |scs in j|ukebox \|
|00001f50| 63 72 0a 5c 6e 6f 61 6c | 69 67 6e 7b 5c 6d 65 64 |cr.\noal|ign{\med|
|00001f60| 73 6b 69 70 20 7d 0a 20 | 20 26 69 6e 74 26 20 6f |skip }. | &int& o|
|00001f70| 70 74 69 6f 6e 73 3b 26 | 20 6f 70 74 69 6f 6e 73 |ptions;&| options|
|00001f80| 20 66 6c 61 67 73 20 5c | 63 72 0a 20 20 26 6c 6f | flags \|cr. &lo|
|00001f90| 6e 67 26 20 6d 63 5f 66 | 6c 61 67 73 3b 26 20 6d |ng& mc_f|lags;& m|
|00001fa0| 65 64 69 61 2d 63 68 61 | 6e 67 65 20 62 75 66 66 |edia-cha|nge buff|
|00001fb0| 65 72 20 66 6c 61 67 73 | 20 28 24 32 5c 74 69 6d |er flags| ($2\tim|
|00001fc0| 65 73 31 36 24 29 20 5c | 63 72 0a 5c 7d 5c 63 72 |es16$) \|cr.\}\cr|
|00001fd0| 0a 7d 0a 5c 65 6e 64 7b | 64 69 73 70 6c 61 79 6d |.}.\end{|displaym|
|00001fe0| 61 74 68 7d 0a 20 2d 2d | 3e 0a 3c 2f 50 3e 0a 3c |ath}. --|>.</P>.<|
|00001ff0| 44 49 56 20 41 4c 49 47 | 4e 3d 22 43 45 4e 54 45 |DIV ALIG|N="CENTE|
|00002000| 52 22 3e 0a 3c 49 4d 47 | 0a 20 53 54 59 4c 45 3d |R">.<IMG|. STYLE=|
|00002010| 22 22 20 53 52 43 3d 22 | 69 6d 67 31 2e 70 6e 67 |"" SRC="|img1.png|
|00002020| 22 0a 20 41 4c 54 3d 22 | 24 5c 64 69 73 70 6c 61 |". ALT="|$\displa|
|00002030| 79 73 74 79 6c 65 20 5c | 68 61 6c 69 67 6e 24 22 |ystyle \|halign$"|
|00002040| 3e 24 23 24 26 6e 62 73 | 70 3b 20 26 61 6d 70 3b |>$#$&nbs|p; &|
|00002050| 20 24 23 24 26 6e 62 73 | 70 3b 20 26 61 6d 70 3b | $#$&nbs|p; &|
|00002060| 20 3c 49 3e 74 6f 3c 2f | 49 3e 31 30 3c 49 3e 65 | <I>to</|I>10<I>e|
|00002070| 6d 3c 2f 49 3e 24 23 24 | 3c 49 4d 47 0a 20 53 54 |m</I>$#$|<IMG. ST|
|00002080| 59 4c 45 3d 22 22 20 53 | 52 43 3d 22 69 6d 67 34 |YLE="" S|RC="img4|
|00002090| 2e 70 6e 67 22 0a 20 41 | 4c 54 3d 22 24 5c 64 69 |.png". A|LT="$\di|
|000020a0| 73 70 6c 61 79 73 74 79 | 6c 65 20 5c 68 73 73 24 |splaysty|le \hss$|
|000020b0| 22 3e 20 26 61 6d 70 3b | 20 24 2f 2a 24 23 24 2a |"> &| $/*$#$*|
|000020c0| 2f 24 3c 49 4d 47 0a 20 | 53 54 59 4c 45 3d 22 22 |/$<IMG. |STYLE=""|
|000020d0| 20 53 52 43 3d 22 69 6d | 67 32 2e 70 6e 67 22 0a | SRC="im|g2.png".|
|000020e0| 20 41 4c 54 3d 22 24 5c | 64 69 73 70 6c 61 79 73 | ALT="$\|displays|
|000020f0| 74 79 6c 65 20 5c 63 72 | 24 22 3e 3c 49 3e 73 74 |tyle \cr|$"><I>st|
|00002100| 72 75 63 74 3c 2f 49 3e | 20 26 61 6d 70 3b 20 3c |ruct</I>| & <|
|00002110| 49 3e 63 64 72 6f 6d 3c | 2f 49 3e 3c 53 55 42 3e |I>cdrom<|/I><SUB>|
|00002120| 64 3c 2f 53 55 42 3e 3c | 49 3e 65 76 69 63 65 3c |d</SUB><|I>evice<|
|00002130| 2f 49 3e 3c 53 55 42 3e | 6f 3c 2f 53 55 42 3e 3c |/I><SUB>|o</SUB><|
|00002140| 49 3e 70 73 3c 2f 49 3e | 26 6e 62 73 70 3b 7b 3c |I>ps</I>| {<|
|00002150| 49 4d 47 0a 20 53 54 59 | 4c 45 3d 22 22 20 53 52 |IMG. STY|LE="" SR|
|00002160| 43 3d 22 69 6d 67 33 2e | 70 6e 67 22 0a 20 41 4c |C="img3.|png". AL|
|00002170| 54 3d 22 24 5c 64 69 73 | 70 6c 61 79 73 74 79 6c |T="$\dis|playstyl|
|00002180| 65 20 5c 68 69 64 65 77 | 69 64 74 68 24 22 3e 3c |e \hidew|idth$"><|
|00002190| 49 4d 47 0a 20 53 54 59 | 4c 45 3d 22 22 20 53 52 |IMG. STY|LE="" SR|
|000021a0| 43 3d 22 69 6d 67 32 2e | 70 6e 67 22 0a 20 41 4c |C="img2.|png". AL|
|000021b0| 54 3d 22 24 5c 64 69 73 | 70 6c 61 79 73 74 79 6c |T="$\dis|playstyl|
|000021c0| 65 20 5c 63 72 24 22 3e | 20 26 61 6d 70 3b 20 3c |e \cr$">| & <|
|000021d0| 49 3e 69 6e 74 3c 2f 49 | 3e 20 26 61 6d 70 3b 20 |I>int</I|> & |
|000021e0| 28 2a 3c 49 3e 6f 70 65 | 6e 3c 2f 49 3e 29 28 3c |(*<I>ope|n</I>)(<|
|000021f0| 49 3e 6b 64 65 76 3c 2f | 49 3e 3c 53 55 42 3e 74 |I>kdev</|I><SUB>t|
|00002200| 3c 2f 53 55 42 3e 2c 20 | 3c 49 3e 69 6e 74 3c 2f |</SUB>, |<I>int</|
|00002210| 49 3e 29 3c 49 4d 47 0a | 20 53 54 59 4c 45 3d 22 |I>)<IMG.| STYLE="|
|00002220| 22 20 53 52 43 3d 22 69 | 6d 67 32 2e 70 6e 67 22 |" SRC="i|mg2.png"|
|00002230| 0a 20 41 4c 54 3d 22 24 | 5c 64 69 73 70 6c 61 79 |. ALT="$|\display|
|00002240| 73 74 79 6c 65 20 5c 63 | 72 24 22 3e 20 26 61 6d |style \c|r$"> &am|
|00002250| 70 3b 20 3c 49 3e 76 6f | 69 64 3c 2f 49 3e 20 26 |p; <I>vo|id</I> &|
|00002260| 61 6d 70 3b 20 28 2a 3c | 49 3e 72 65 6c 65 61 73 |amp; (*<|I>releas|
|00002270| 65 3c 2f 49 3e 29 28 3c | 49 3e 6b 64 65 76 3c 2f |e</I>)(<|I>kdev</|
|00002280| 49 3e 3c 53 55 42 3e 74 | 3c 2f 53 55 42 3e 29 3b |I><SUB>t|</SUB>);|
|00002290| 3c 49 4d 47 0a 20 53 54 | 59 4c 45 3d 22 22 20 53 |<IMG. ST|YLE="" S|
|000022a0| 52 43 3d 22 69 6d 67 32 | 2e 70 6e 67 22 0a 20 41 |RC="img2|.png". A|
|000022b0| 4c 54 3d 22 24 5c 64 69 | 73 70 6c 61 79 73 74 79 |LT="$\di|splaysty|
|000022c0| 6c 65 20 5c 63 72 24 22 | 3e 20 26 61 6d 70 3b 20 |le \cr$"|> & |
|000022d0| 3c 49 3e 69 6e 74 3c 2f | 49 3e 20 26 61 6d 70 3b |<I>int</|I> &|
|000022e0| 20 28 2a 3c 49 3e 6f 70 | 65 6e 3c 2f 49 3e 3c 53 | (*<I>op|en</I><S|
|000022f0| 55 42 3e 66 3c 2f 53 55 | 42 3e 3c 49 3e 69 6c 65 |UB>f</SU|B><I>ile|
|00002300| 73 3c 2f 49 3e 29 28 3c | 49 3e 6b 64 65 76 3c 2f |s</I>)(<|I>kdev</|
|00002310| 49 3e 3c 53 55 42 3e 74 | 3c 2f 53 55 42 3e 29 3b |I><SUB>t|</SUB>);|
|00002320| 3c 49 4d 47 0a 20 53 54 | 59 4c 45 3d 22 22 20 53 |<IMG. ST|YLE="" S|
|00002330| 52 43 3d 22 69 6d 67 32 | 2e 70 6e 67 22 0a 20 41 |RC="img2|.png". A|
|00002340| 4c 54 3d 22 24 5c 64 69 | 73 70 6c 61 79 73 74 79 |LT="$\di|splaysty|
|00002350| 6c 65 20 5c 63 72 24 22 | 3e 20 26 61 6d 70 3b 20 |le \cr$"|> & |
|00002360| 3c 49 3e 69 6e 74 3c 2f | 49 3e 20 26 61 6d 70 3b |<I>int</|I> &|
|00002370| 20 28 2a 3c 49 3e 64 72 | 69 76 65 3c 2f 49 3e 3c | (*<I>dr|ive</I><|
|00002380| 53 55 42 3e 73 3c 2f 53 | 55 42 3e 3c 49 3e 74 61 |SUB>s</S|UB><I>ta|
|00002390| 74 75 73 3c 2f 49 3e 29 | 28 3c 49 3e 6b 64 65 76 |tus</I>)|(<I>kdev|
|000023a0| 3c 2f 49 3e 3c 53 55 42 | 3e 74 3c 2f 53 55 42 3e |</I><SUB|>t</SUB>|
|000023b0| 29 3b 3c 49 4d 47 0a 20 | 53 54 59 4c 45 3d 22 22 |);<IMG. |STYLE=""|
|000023c0| 20 53 52 43 3d 22 69 6d | 67 32 2e 70 6e 67 22 0a | SRC="im|g2.png".|
|000023d0| 20 41 4c 54 3d 22 24 5c | 64 69 73 70 6c 61 79 73 | ALT="$\|displays|
|000023e0| 74 79 6c 65 20 5c 63 72 | 24 22 3e 20 26 61 6d 70 |tyle \cr|$"> &|
|000023f0| 3b 20 3c 49 3e 69 6e 74 | 3c 2f 49 3e 20 26 61 6d |; <I>int|</I> &am|
|00002400| 70 3b 20 28 2a 3c 49 3e | 64 69 73 63 3c 2f 49 3e |p; (*<I>|disc</I>|
|00002410| 3c 53 55 42 3e 73 3c 2f | 53 55 42 3e 3c 49 3e 74 |<SUB>s</|SUB><I>t|
|00002420| 61 74 75 73 3c 2f 49 3e | 29 28 3c 49 3e 6b 64 65 |atus</I>|)(<I>kde|
|00002430| 76 3c 2f 49 3e 3c 53 55 | 42 3e 74 3c 2f 53 55 42 |v</I><SU|B>t</SUB|
|00002440| 3e 29 3b 3c 49 4d 47 0a | 20 53 54 59 4c 45 3d 22 |>);<IMG.| STYLE="|
|00002450| 22 20 53 52 43 3d 22 69 | 6d 67 32 2e 70 6e 67 22 |" SRC="i|mg2.png"|
|00002460| 0a 20 41 4c 54 3d 22 24 | 5c 64 69 73 70 6c 61 79 |. ALT="$|\display|
|00002470| 73 74 79 6c 65 20 5c 63 | 72 24 22 3e 20 26 61 6d |style \c|r$"> &am|
|00002480| 70 3b 20 3c 49 3e 69 6e | 74 3c 2f 49 3e 20 26 61 |p; <I>in|t</I> &a|
|00002490| 6d 70 3b 20 28 2a 3c 49 | 3e 6d 65 64 69 61 3c 2f |mp; (*<I|>media</|
|000024a0| 49 3e 3c 53 55 42 3e 63 | 3c 2f 53 55 42 3e 3c 49 |I><SUB>c|</SUB><I|
|000024b0| 3e 68 61 6e 67 65 64 3c | 2f 49 3e 20 29 28 3c 49 |>hanged<|/I> )(<I|
|000024c0| 3e 6b 64 65 76 3c 2f 49 | 3e 3c 53 55 42 3e 74 3c |>kdev</I|><SUB>t<|
|000024d0| 2f 53 55 42 3e 29 3b 3c | 49 4d 47 0a 20 53 54 59 |/SUB>);<|IMG. STY|
|000024e0| 4c 45 3d 22 22 20 53 52 | 43 3d 22 69 6d 67 32 2e |LE="" SR|C="img2.|
|000024f0| 70 6e 67 22 0a 20 41 4c | 54 3d 22 24 5c 64 69 73 |png". AL|T="$\dis|
|00002500| 70 6c 61 79 73 74 79 6c | 65 20 5c 63 72 24 22 3e |playstyl|e \cr$">|
|00002510| 20 26 61 6d 70 3b 20 3c | 49 3e 69 6e 74 3c 2f 49 | & <|I>int</I|
|00002520| 3e 20 26 61 6d 70 3b 20 | 28 2a 3c 49 3e 74 72 61 |> & |(*<I>tra|
|00002530| 79 3c 2f 49 3e 3c 53 55 | 42 3e 6d 3c 2f 53 55 42 |y</I><SU|B>m</SUB|
|00002540| 3e 3c 49 3e 6f 76 65 3c | 2f 49 3e 29 28 3c 49 3e |><I>ove<|/I>)(<I>|
|00002550| 6b 64 65 76 3c 2f 49 3e | 3c 53 55 42 3e 74 3c 2f |kdev</I>|<SUB>t</|
|00002560| 53 55 42 3e 2c 20 3c 49 | 3e 69 6e 74 3c 2f 49 3e |SUB>, <I|>int</I>|
|00002570| 29 3b 3c 49 4d 47 0a 20 | 53 54 59 4c 45 3d 22 22 |);<IMG. |STYLE=""|
|00002580| 20 53 52 43 3d 22 69 6d | 67 32 2e 70 6e 67 22 0a | SRC="im|g2.png".|
|00002590| 20 41 4c 54 3d 22 24 5c | 64 69 73 70 6c 61 79 73 | ALT="$\|displays|
|000025a0| 74 79 6c 65 20 5c 63 72 | 24 22 3e 20 26 61 6d 70 |tyle \cr|$"> &|
|000025b0| 3b 20 3c 49 3e 69 6e 74 | 3c 2f 49 3e 20 26 61 6d |; <I>int|</I> &am|
|000025c0| 70 3b 20 28 2a 3c 49 3e | 6c 6f 63 6b 3c 2f 49 3e |p; (*<I>|lock</I>|
|000025d0| 3c 53 55 42 3e 64 3c 2f | 53 55 42 3e 3c 49 3e 6f |<SUB>d</|SUB><I>o|
|000025e0| 6f 72 3c 2f 49 3e 29 28 | 3c 49 3e 6b 64 65 76 3c |or</I>)(|<I>kdev<|
|000025f0| 2f 49 3e 3c 53 55 42 3e | 74 3c 2f 53 55 42 3e 2c |/I><SUB>|t</SUB>,|
|00002600| 20 3c 49 3e 69 6e 74 3c | 2f 49 3e 29 3b 3c 49 4d | <I>int<|/I>);<IM|
|00002610| 47 0a 20 53 54 59 4c 45 | 3d 22 22 20 53 52 43 3d |G. STYLE|="" SRC=|
|00002620| 22 69 6d 67 32 2e 70 6e | 67 22 0a 20 41 4c 54 3d |"img2.pn|g". ALT=|
|00002630| 22 24 5c 64 69 73 70 6c | 61 79 73 74 79 6c 65 20 |"$\displ|aystyle |
|00002640| 5c 63 72 24 22 3e 20 26 | 61 6d 70 3b 20 3c 49 3e |\cr$"> &|amp; <I>|
|00002650| 69 6e 74 3c 2f 49 3e 20 | 26 61 6d 70 3b 20 28 2a |int</I> |& (*|
|00002660| 3c 49 3e 73 65 6c 65 63 | 74 3c 2f 49 3e 3c 53 55 |<I>selec|t</I><SU|
|00002670| 42 3e 73 3c 2f 53 55 42 | 3e 3c 49 3e 70 65 65 64 |B>s</SUB|><I>peed|
|00002680| 3c 2f 49 3e 20 29 28 3c | 49 3e 6b 64 65 76 3c 2f |</I> )(<|I>kdev</|
|00002690| 49 3e 3c 53 55 42 3e 74 | 3c 2f 53 55 42 3e 2c 20 |I><SUB>t|</SUB>, |
|000026a0| 3c 49 3e 69 6e 74 3c 2f | 49 3e 29 3b 3c 49 4d 47 |<I>int</|I>);<IMG|
|000026b0| 0a 20 53 54 59 4c 45 3d | 22 22 20 53 52 43 3d 22 |. STYLE=|"" SRC="|
|000026c0| 69 6d 67 32 2e 70 6e 67 | 22 0a 20 41 4c 54 3d 22 |img2.png|". ALT="|
|000026d0| 24 5c 64 69 73 70 6c 61 | 79 73 74 79 6c 65 20 5c |$\displa|ystyle \|
|000026e0| 63 72 24 22 3e 20 26 61 | 6d 70 3b 20 3c 49 3e 69 |cr$"> &a|mp; <I>i|
|000026f0| 6e 74 3c 2f 49 3e 20 26 | 61 6d 70 3b 20 28 2a 3c |nt</I> &|amp; (*<|
|00002700| 49 3e 73 65 6c 65 63 74 | 3c 2f 49 3e 3c 53 55 42 |I>select|</I><SUB|
|00002710| 3e 64 3c 2f 53 55 42 3e | 3c 49 3e 69 73 63 3c 2f |>d</SUB>|<I>isc</|
|00002720| 49 3e 29 28 3c 49 3e 6b | 64 65 76 3c 2f 49 3e 3c |I>)(<I>k|dev</I><|
|00002730| 53 55 42 3e 74 3c 2f 53 | 55 42 3e 2c 20 3c 49 3e |SUB>t</S|UB>, <I>|
|00002740| 69 6e 74 3c 2f 49 3e 29 | 3b 3c 49 4d 47 0a 20 53 |int</I>)|;<IMG. S|
|00002750| 54 59 4c 45 3d 22 22 20 | 53 52 43 3d 22 69 6d 67 |TYLE="" |SRC="img|
|00002760| 32 2e 70 6e 67 22 0a 20 | 41 4c 54 3d 22 24 5c 64 |2.png". |ALT="$\d|
|00002770| 69 73 70 6c 61 79 73 74 | 79 6c 65 20 5c 63 72 24 |isplayst|yle \cr$|
|00002780| 22 3e 20 26 61 6d 70 3b | 20 3c 49 3e 69 6e 74 3c |"> &| <I>int<|
|00002790| 2f 49 3e 20 26 61 6d 70 | 3b 20 28 2a 3c 49 3e 67 |/I> &|; (*<I>g|
|000027a0| 65 74 3c 2f 49 3e 3c 53 | 55 42 3e 6c 3c 2f 53 55 |et</I><S|UB>l</SU|
|000027b0| 42 3e 3c 49 3e 61 73 74 | 3c 2f 49 3e 3c 53 55 42 |B><I>ast|</I><SUB|
|000027c0| 3e 73 3c 2f 53 55 42 3e | 3c 49 3e 65 73 73 69 6f |>s</SUB>|<I>essio|
|000027d0| 6e 3c 2f 49 3e 29 28 3c | 49 3e 6b 64 65 76 3c 2f |n</I>)(<|I>kdev</|
|000027e0| 49 3e 3c 53 55 42 3e 74 | 3c 2f 53 55 42 3e 2c 20 |I><SUB>t|</SUB>, |
|000027f0| 3c 49 3e 73 74 72 75 63 | 74 3c 2f 49 3e 26 6e 62 |<I>struc|t</I>&nb|
|00002800| 73 70 3b 3c 49 3e 63 64 | 72 6f 6d 3c 2f 49 3e 3c |sp;<I>cd|rom</I><|
|00002810| 53 55 42 3e 6d 3c 2f 53 | 55 42 3e 3c 49 3e 75 6c |SUB>m</S|UB><I>ul|
|00002820| 74 69 73 65 73 73 69 6f | 6e 3c 2f 49 3e 2a 29 3b |tisessio|n</I>*);|
|00002830| 3c 49 4d 47 0a 20 53 54 | 59 4c 45 3d 22 22 20 53 |<IMG. ST|YLE="" S|
|00002840| 52 43 3d 22 69 6d 67 32 | 2e 70 6e 67 22 0a 20 41 |RC="img2|.png". A|
|00002850| 4c 54 3d 22 24 5c 64 69 | 73 70 6c 61 79 73 74 79 |LT="$\di|splaysty|
|00002860| 6c 65 20 5c 63 72 24 22 | 3e 20 26 61 6d 70 3b 20 |le \cr$"|> & |
|00002870| 3c 49 3e 69 6e 74 3c 2f | 49 3e 20 26 61 6d 70 3b |<I>int</|I> &|
|00002880| 20 28 2a 3c 49 3e 67 65 | 74 3c 2f 49 3e 3c 53 55 | (*<I>ge|t</I><SU|
|00002890| 42 3e 6d 3c 2f 53 55 42 | 3e 3c 49 3e 63 6e 3c 2f |B>m</SUB|><I>cn</|
|000028a0| 49 3e 29 28 3c 49 3e 6b | 64 65 76 3c 2f 49 3e 3c |I>)(<I>k|dev</I><|
|000028b0| 53 55 42 3e 74 3c 2f 53 | 55 42 3e 2c 20 3c 49 3e |SUB>t</S|UB>, <I>|
|000028c0| 73 74 72 75 63 74 3c 2f | 49 3e 26 6e 62 73 70 3b |struct</|I> |
|000028d0| 3c 49 3e 63 64 72 6f 6d | 3c 2f 49 3e 3c 53 55 42 |<I>cdrom|</I><SUB|
|000028e0| 3e 6d 3c 2f 53 55 42 3e | 3c 49 3e 63 6e 3c 2f 49 |>m</SUB>|<I>cn</I|
|000028f0| 3e 2a 29 3b 3c 49 4d 47 | 0a 20 53 54 59 4c 45 3d |>*);<IMG|. STYLE=|
|00002900| 22 22 20 53 52 43 3d 22 | 69 6d 67 32 2e 70 6e 67 |"" SRC="|img2.png|
|00002910| 22 0a 20 41 4c 54 3d 22 | 24 5c 64 69 73 70 6c 61 |". ALT="|$\displa|
|00002920| 79 73 74 79 6c 65 20 5c | 63 72 24 22 3e 20 26 61 |ystyle \|cr$"> &a|
|00002930| 6d 70 3b 20 3c 49 3e 69 | 6e 74 3c 2f 49 3e 20 26 |mp; <I>i|nt</I> &|
|00002940| 61 6d 70 3b 20 28 2a 3c | 49 3e 72 65 73 65 74 3c |amp; (*<|I>reset<|
|00002950| 2f 49 3e 29 28 3c 49 3e | 6b 64 65 76 3c 2f 49 3e |/I>)(<I>|kdev</I>|
|00002960| 3c 53 55 42 3e 74 3c 2f | 53 55 42 3e 29 3b 3c 49 |<SUB>t</|SUB>);<I|
|00002970| 4d 47 0a 20 53 54 59 4c | 45 3d 22 22 20 53 52 43 |MG. STYL|E="" SRC|
|00002980| 3d 22 69 6d 67 32 2e 70 | 6e 67 22 0a 20 41 4c 54 |="img2.p|ng". ALT|
|00002990| 3d 22 24 5c 64 69 73 70 | 6c 61 79 73 74 79 6c 65 |="$\disp|laystyle|
|000029a0| 20 5c 63 72 24 22 3e 20 | 26 61 6d 70 3b 20 3c 49 | \cr$"> |& <I|
|000029b0| 3e 69 6e 74 3c 2f 49 3e | 20 26 61 6d 70 3b 20 28 |>int</I>| & (|
|000029c0| 2a 3c 49 3e 61 75 64 69 | 6f 3c 2f 49 3e 3c 53 55 |*<I>audi|o</I><SU|
|000029d0| 42 3e 69 3c 2f 53 55 42 | 3e 3c 49 3e 6f 63 74 6c |B>i</SUB|><I>octl|
|000029e0| 3c 2f 49 3e 20 29 28 3c | 49 3e 6b 64 65 76 3c 2f |</I> )(<|I>kdev</|
|000029f0| 49 3e 3c 53 55 42 3e 74 | 3c 2f 53 55 42 3e 2c 20 |I><SUB>t|</SUB>, |
|00002a00| 3c 49 3e 75 6e 73 69 67 | 6e 65 64 3c 2f 49 3e 26 |<I>unsig|ned</I>&|
|00002a10| 6e 62 73 70 3b 3c 49 3e | 69 6e 74 3c 2f 49 3e 2c |nbsp;<I>|int</I>,|
|00002a20| 20 3c 49 3e 76 6f 69 64 | 3c 2f 49 3e 2a 29 3b 3c | <I>void|</I>*);<|
|00002a30| 49 4d 47 0a 20 53 54 59 | 4c 45 3d 22 22 20 53 52 |IMG. STY|LE="" SR|
|00002a40| 43 3d 22 69 6d 67 32 2e | 70 6e 67 22 0a 20 41 4c |C="img2.|png". AL|
|00002a50| 54 3d 22 24 5c 64 69 73 | 70 6c 61 79 73 74 79 6c |T="$\dis|playstyl|
|00002a60| 65 20 5c 63 72 24 22 3e | 20 26 61 6d 70 3b 20 3c |e \cr$">| & <|
|00002a70| 49 3e 69 6e 74 3c 2f 49 | 3e 20 26 61 6d 70 3b 20 |I>int</I|> & |
|00002a80| 28 2a 3c 49 3e 64 65 76 | 3c 2f 49 3e 3c 53 55 42 |(*<I>dev|</I><SUB|
|00002a90| 3e 69 3c 2f 53 55 42 3e | 3c 49 3e 6f 63 74 6c 3c |>i</SUB>|<I>octl<|
|00002aa0| 2f 49 3e 20 29 28 3c 49 | 3e 6b 64 65 76 3c 2f 49 |/I> )(<I|>kdev</I|
|00002ab0| 3e 3c 53 55 42 3e 74 3c | 2f 53 55 42 3e 2c 20 3c |><SUB>t<|/SUB>, <|
|00002ac0| 49 3e 75 6e 73 69 67 6e | 65 64 3c 2f 49 3e 26 6e |I>unsign|ed</I>&n|
|00002ad0| 62 73 70 3b 3c 49 3e 69 | 6e 74 3c 2f 49 3e 2c 20 |bsp;<I>i|nt</I>, |
|00002ae0| 3c 49 3e 75 6e 73 69 67 | 6e 65 64 3c 2f 49 3e 26 |<I>unsig|ned</I>&|
|00002af0| 6e 62 73 70 3b 3c 49 3e | 6c 6f 6e 67 3c 2f 49 3e |nbsp;<I>|long</I>|
|00002b00| 29 3b 3c 49 4d 47 0a 20 | 53 54 59 4c 45 3d 22 22 |);<IMG. |STYLE=""|
|00002b10| 20 53 52 43 3d 22 69 6d | 67 32 2e 70 6e 67 22 0a | SRC="im|g2.png".|
|00002b20| 20 41 4c 54 3d 22 24 5c | 64 69 73 70 6c 61 79 73 | ALT="$\|displays|
|00002b30| 74 79 6c 65 20 5c 63 72 | 24 22 3e 3c 50 3e 0a 3c |tyle \cr|$"><P>.<|
|00002b40| 42 52 3e 20 26 61 6d 70 | 3b 20 3c 49 4d 47 0a 20 |BR> &|; <IMG. |
|00002b50| 53 54 59 4c 45 3d 22 22 | 20 53 52 43 3d 22 69 6d |STYLE=""| SRC="im|
|00002b60| 67 35 2e 70 6e 67 22 0a | 20 41 4c 54 3d 22 24 5c |g5.png".| ALT="$\|
|00002b70| 64 69 73 70 6c 61 79 73 | 74 79 6c 65 20 5c 6c 6c |displays|tyle \ll|
|00002b80| 61 70 24 22 3e 3c 49 3e | 63 6f 6e 73 74 3c 2f 49 |ap$"><I>|const</I|
|00002b90| 3e 26 6e 62 73 70 3b 3c | 49 3e 69 6e 74 3c 2f 49 |> <|I>int</I|
|00002ba0| 3e 20 26 61 6d 70 3b 20 | 3c 49 3e 63 61 70 61 62 |> & |<I>capab|
|00002bb0| 69 6c 69 74 79 3c 2f 49 | 3e 3b 20 26 61 6d 70 3b |ility</I|>; &|
|00002bc0| 20 3c 49 3e 63 61 70 61 | 62 69 6c 69 74 79 66 6c | <I>capa|bilityfl|
|00002bd0| 61 67 73 3c 2f 49 3e 3c | 49 4d 47 0a 20 53 54 59 |ags</I><|IMG. STY|
|00002be0| 4c 45 3d 22 22 20 53 52 | 43 3d 22 69 6d 67 32 2e |LE="" SR|C="img2.|
|00002bf0| 70 6e 67 22 0a 20 41 4c | 54 3d 22 24 5c 64 69 73 |png". AL|T="$\dis|
|00002c00| 70 6c 61 79 73 74 79 6c | 65 20 5c 63 72 24 22 3e |playstyl|e \cr$">|
|00002c10| 20 26 61 6d 70 3b 20 3c | 49 3e 69 6e 74 3c 2f 49 | & <|I>int</I|
|00002c20| 3e 20 26 61 6d 70 3b 20 | 3c 49 3e 6d 61 73 6b 3c |> & |<I>mask<|
|00002c30| 2f 49 3e 3b 20 26 61 6d | 70 3b 20 3c 49 3e 6d 61 |/I>; &am|p; <I>ma|
|00002c40| 73 6b 6f 66 63 61 70 61 | 62 69 6c 69 74 79 3c 2f |skofcapa|bility</|
|00002c50| 49 3e 3a 3c 49 3e 64 69 | 73 61 62 6c 65 73 74 68 |I>:<I>di|sablesth|
|00002c60| 65 6d 3c 2f 49 3e 3c 49 | 4d 47 0a 20 53 54 59 4c |em</I><I|MG. STYL|
|00002c70| 45 3d 22 22 20 53 52 43 | 3d 22 69 6d 67 32 2e 70 |E="" SRC|="img2.p|
|00002c80| 6e 67 22 0a 20 41 4c 54 | 3d 22 24 5c 64 69 73 70 |ng". ALT|="$\disp|
|00002c90| 6c 61 79 73 74 79 6c 65 | 20 5c 63 72 24 22 3e 20 |laystyle| \cr$"> |
|00002ca0| 26 61 6d 70 3b 20 3c 49 | 4d 47 0a 20 53 54 59 4c |& <I|MG. STYL|
|00002cb0| 45 3d 22 22 20 53 52 43 | 3d 22 69 6d 67 35 2e 70 |E="" SRC|="img5.p|
|00002cc0| 6e 67 22 0a 20 41 4c 54 | 3d 22 24 5c 64 69 73 70 |ng". ALT|="$\disp|
|00002cd0| 6c 61 79 73 74 79 6c 65 | 20 5c 6c 6c 61 70 24 22 |laystyle| \llap$"|
|00002ce0| 3e 24 3c 49 3e 63 6f 6e | 73 74 3c 2f 49 3e 26 6e |>$<I>con|st</I>&n|
|00002cf0| 62 73 70 3b 24 3c 49 3e | 69 6e 74 3c 2f 49 3e 20 |bsp;$<I>|int</I> |
|00002d00| 26 61 6d 70 3b 20 3c 49 | 3e 73 70 65 65 64 3c 2f |& <I|>speed</|
|00002d10| 49 3e 3b 20 26 61 6d 70 | 3b 20 3c 49 3e 6d 61 78 |I>; &|; <I>max|
|00002d20| 69 6d 75 6d 73 70 65 65 | 64 66 6f 72 72 65 61 64 |imumspee|dforread|
|00002d30| 69 6e 67 64 61 74 61 3c | 2f 49 3e 3c 49 4d 47 0a |ingdata<|/I><IMG.|
|00002d40| 20 53 54 59 4c 45 3d 22 | 22 20 53 52 43 3d 22 69 | STYLE="|" SRC="i|
|00002d50| 6d 67 32 2e 70 6e 67 22 | 0a 20 41 4c 54 3d 22 24 |mg2.png"|. ALT="$|
|00002d60| 5c 64 69 73 70 6c 61 79 | 73 74 79 6c 65 20 5c 63 |\display|style \c|
|00002d70| 72 24 22 3e 20 26 61 6d | 70 3b 20 3c 49 4d 47 0a |r$"> &am|p; <IMG.|
|00002d80| 20 53 54 59 4c 45 3d 22 | 22 20 53 52 43 3d 22 69 | STYLE="|" SRC="i|
|00002d90| 6d 67 35 2e 70 6e 67 22 | 0a 20 41 4c 54 3d 22 24 |mg5.png"|. ALT="$|
|00002da0| 5c 64 69 73 70 6c 61 79 | 73 74 79 6c 65 20 5c 6c |\display|style \l|
|00002db0| 6c 61 70 24 22 3e 24 3c | 49 3e 63 6f 6e 73 74 3c |lap$">$<|I>const<|
|00002dc0| 2f 49 3e 26 6e 62 73 70 | 3b 24 3c 49 3e 69 6e 74 |/I> |;$<I>int|
|00002dd0| 3c 2f 49 3e 20 26 61 6d | 70 3b 20 3c 49 3e 6d 69 |</I> &am|p; <I>mi|
|00002de0| 6e 6f 72 73 3c 2f 49 3e | 3b 20 26 61 6d 70 3b 20 |nors</I>|; & |
|00002df0| 3c 49 3e 6e 75 6d 62 65 | 72 6f 66 73 75 70 70 6f |<I>numbe|rofsuppo|
|00002e00| 72 74 65 64 6d 69 6e 6f | 72 64 65 76 69 63 65 73 |rtedmino|rdevices|
|00002e10| 3c 2f 49 3e 3c 49 4d 47 | 0a 20 53 54 59 4c 45 3d |</I><IMG|. STYLE=|
|00002e20| 22 22 20 53 52 43 3d 22 | 69 6d 67 32 2e 70 6e 67 |"" SRC="|img2.png|
|00002e30| 22 0a 20 41 4c 54 3d 22 | 24 5c 64 69 73 70 6c 61 |". ALT="|$\displa|
|00002e40| 79 73 74 79 6c 65 20 5c | 63 72 24 22 3e 20 26 61 |ystyle \|cr$"> &a|
|00002e50| 6d 70 3b 20 3c 49 4d 47 | 0a 20 53 54 59 4c 45 3d |mp; <IMG|. STYLE=|
|00002e60| 22 22 20 53 52 43 3d 22 | 69 6d 67 35 2e 70 6e 67 |"" SRC="|img5.png|
|00002e70| 22 0a 20 41 4c 54 3d 22 | 24 5c 64 69 73 70 6c 61 |". ALT="|$\displa|
|00002e80| 79 73 74 79 6c 65 20 5c | 6c 6c 61 70 24 22 3e 24 |ystyle \|llap$">$|
|00002e90| 3c 49 3e 63 6f 6e 73 74 | 3c 2f 49 3e 26 6e 62 73 |<I>const|</I>&nbs|
|00002ea0| 70 3b 24 3c 49 3e 69 6e | 74 3c 2f 49 3e 20 26 61 |p;$<I>in|t</I> &a|
|00002eb0| 6d 70 3b 20 3c 49 3e 63 | 61 70 61 63 69 74 79 3c |mp; <I>c|apacity<|
|00002ec0| 2f 49 3e 3b 20 26 61 6d | 70 3b 20 3c 49 3e 6e 75 |/I>; &am|p; <I>nu|
|00002ed0| 6d 62 65 72 6f 66 64 69 | 73 63 73 69 6e 6a 75 6b |mberofdi|scsinjuk|
|00002ee0| 65 62 6f 78 3c 2f 49 3e | 3c 49 4d 47 0a 20 53 54 |ebox</I>|<IMG. ST|
|00002ef0| 59 4c 45 3d 22 22 20 53 | 52 43 3d 22 69 6d 67 32 |YLE="" S|RC="img2|
|00002f00| 2e 70 6e 67 22 0a 20 41 | 4c 54 3d 22 24 5c 64 69 |.png". A|LT="$\di|
|00002f10| 73 70 6c 61 79 73 74 79 | 6c 65 20 5c 63 72 24 22 |splaysty|le \cr$"|
|00002f20| 3e 3c 50 3e 0a 3c 42 52 | 3e 20 26 61 6d 70 3b 20 |><P>.<BR|> & |
|00002f30| 3c 49 3e 69 6e 74 3c 2f | 49 3e 20 26 61 6d 70 3b |<I>int</|I> &|
|00002f40| 20 3c 49 3e 6f 70 74 69 | 6f 6e 73 3c 2f 49 3e 3b | <I>opti|ons</I>;|
|00002f50| 20 26 61 6d 70 3b 20 3c | 49 3e 6f 70 74 69 6f 6e | & <|I>option|
|00002f60| 73 66 6c 61 67 73 3c 2f | 49 3e 3c 49 4d 47 0a 20 |sflags</|I><IMG. |
|00002f70| 53 54 59 4c 45 3d 22 22 | 20 53 52 43 3d 22 69 6d |STYLE=""| SRC="im|
|00002f80| 67 32 2e 70 6e 67 22 0a | 20 41 4c 54 3d 22 24 5c |g2.png".| ALT="$\|
|00002f90| 64 69 73 70 6c 61 79 73 | 74 79 6c 65 20 5c 63 72 |displays|tyle \cr|
|00002fa0| 24 22 3e 20 26 61 6d 70 | 3b 20 3c 49 3e 6c 6f 6e |$"> &|; <I>lon|
|00002fb0| 67 3c 2f 49 3e 20 26 61 | 6d 70 3b 20 3c 49 3e 6d |g</I> &a|mp; <I>m|
|00002fc0| 63 3c 2f 49 3e 3c 53 55 | 42 3e 66 3c 2f 53 55 42 |c</I><SU|B>f</SUB|
|00002fd0| 3e 3c 49 3e 6c 61 67 73 | 3c 2f 49 3e 3b 20 26 61 |><I>lags|</I>; &a|
|00002fe0| 6d 70 3b 20 3c 49 3e 6d | 65 64 69 61 3c 2f 49 3e |mp; <I>m|edia</I>|
|00002ff0| 2d 3c 49 3e 63 68 61 6e | 67 65 62 75 66 66 65 72 |-<I>chan|gebuffer|
|00003000| 66 6c 61 67 73 3c 2f 49 | 3e 28 24 32 26 23 32 31 |flags</I|>($2|
|00003010| 35 3b 31 36 24 29 3c 49 | 4d 47 0a 20 53 54 59 4c |5;16$)<I|MG. STYL|
|00003020| 45 3d 22 22 20 53 52 43 | 3d 22 69 6d 67 32 2e 70 |E="" SRC|="img2.p|
|00003030| 6e 67 22 0a 20 41 4c 54 | 3d 22 24 5c 64 69 73 70 |ng". ALT|="$\disp|
|00003040| 6c 61 79 73 74 79 6c 65 | 20 5c 63 72 24 22 3e 7d |laystyle| \cr$">}|
|00003050| 3c 49 4d 47 0a 20 53 54 | 59 4c 45 3d 22 22 20 53 |<IMG. ST|YLE="" S|
|00003060| 52 43 3d 22 69 6d 67 32 | 2e 70 6e 67 22 0a 20 41 |RC="img2|.png". A|
|00003070| 4c 54 3d 22 24 5c 64 69 | 73 70 6c 61 79 73 74 79 |LT="$\di|splaysty|
|00003080| 6c 65 20 5c 63 72 24 22 | 3e 0a 3c 2f 44 49 56 3e |le \cr$"|>.</DIV>|
|00003090| 3c 50 3e 3c 2f 50 3e 3c | 54 54 3e 20 54 68 65 20 |<P></P><|TT> The |
|000030a0| 43 44 3c 53 4d 41 4c 4c | 3e 52 4f 4d 3c 2f 53 4d |CD<SMALL|>ROM</SM|
|000030b0| 41 4c 4c 3e 2d 64 72 69 | 76 65 72 20 73 68 6f 75 |ALL>-dri|ver shou|
|000030c0| 6c 64 20 73 69 6d 70 6c | 79 20 69 6d 70 6c 65 6d |ld simpl|y implem|
|000030d0| 65 6e 74 20 28 73 6f 6d | 65 20 6f 66 29 20 74 68 |ent (som|e of) th|
|000030e0| 65 73 65 0a 66 75 6e 63 | 74 69 6f 6e 73 2c 20 61 |ese.func|tions, a|
|000030f0| 6e 64 20 72 65 67 69 73 | 74 65 72 20 74 68 65 20 |nd regis|ter the |
|00003100| 66 75 6e 63 74 69 6f 6e | 73 20 74 6f 20 74 68 65 |function|s to the|
|00003110| 20 67 6c 6f 62 61 6c 20 | 43 44 3c 53 4d 41 4c 4c | global |CD<SMALL|
|00003120| 3e 52 4f 4d 3c 2f 53 4d | 41 4c 4c 3e 20 64 72 69 |>ROM</SM|ALL> dri|
|00003130| 76 65 72 2c 0a 77 68 69 | 63 68 20 70 65 72 66 6f |ver,.whi|ch perfo|
|00003140| 72 6d 73 20 69 6e 74 65 | 72 66 61 63 69 6e 67 20 |rms inte|rfacing |
|00003150| 77 69 74 68 20 74 68 65 | 20 56 69 72 74 75 61 6c |with the| Virtual|
|00003160| 20 46 69 6c 65 20 53 79 | 73 74 65 6d 20 61 6e 64 | File Sy|stem and|
|00003170| 20 73 79 73 74 65 6d 0a | 3c 49 3e 69 6f 63 74 6c | system.|<I>ioctl|
|00003180| 3c 2f 49 3e 73 2e 20 54 | 68 65 20 66 6c 61 67 73 |</I>s. T|he flags|
|00003190| 20 3c 21 2d 2d 20 4d 41 | 54 48 0a 20 24 63 61 70 | <!-- MA|TH. $cap|
|000031a0| 61 62 69 6c 69 74 79 24 | 0a 20 2d 2d 3e 0a 3c 49 |ability$|. -->.<I|
|000031b0| 3e 63 61 70 61 62 69 6c | 69 74 79 3c 2f 49 3e 20 |>capabil|ity</I> |
|000031c0| 73 70 65 63 69 66 79 20 | 74 68 65 20 68 61 72 64 |specify |the hard|
|000031d0| 77 61 72 65 2d 63 61 70 | 61 62 69 6c 69 74 69 65 |ware-cap|abilitie|
|000031e0| 73 20 6f 6e 0a 72 65 67 | 69 73 74 72 61 74 69 6f |s on.reg|istratio|
|000031f0| 6e 20 6f 66 20 74 68 65 | 20 64 65 76 69 63 65 2c |n of the| device,|
|00003200| 20 74 68 65 20 66 6c 61 | 67 73 20 3c 49 3e 6d 61 | the fla|gs <I>ma|
|00003210| 73 6b 3c 2f 49 3e 20 63 | 61 6e 20 62 65 20 75 73 |sk</I> c|an be us|
|00003220| 65 64 20 74 6f 20 6d 61 | 73 6b 20 73 6f 6d 65 0a |ed to ma|sk some.|
|00003230| 6f 66 20 74 68 6f 73 65 | 20 63 61 70 61 62 69 6c |of those| capabil|
|00003240| 69 74 69 65 73 20 28 66 | 6f 72 20 6f 6e 65 20 72 |ities (f|or one r|
|00003250| 65 61 73 6f 6e 20 6f 72 | 20 61 6e 6f 74 68 65 72 |eason or| another|
|00003260| 29 2e 20 54 68 65 20 76 | 61 6c 75 65 20 3c 49 3e |). The v|alue <I>|
|00003270| 6d 69 6e 6f 72 73 3c 2f | 49 3e 0a 73 68 6f 75 6c |minors</|I>.shoul|
|00003280| 64 20 62 65 20 61 20 70 | 6f 73 69 74 69 76 65 20 |d be a p|ositive |
|00003290| 76 61 6c 75 65 20 69 6e | 64 69 63 61 74 69 6e 67 |value in|dicating|
|000032a0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6d | the num|ber of m|
|000032b0| 69 6e 6f 72 20 64 65 76 | 69 63 65 73 20 74 68 61 |inor dev|ices tha|
|000032c0| 74 0a 61 72 65 20 73 75 | 70 70 6f 72 74 65 64 20 |t.are su|pported |
|000032d0| 62 79 20 74 68 65 20 64 | 72 69 76 65 72 2c 20 6e |by the d|river, n|
|000032e0| 6f 72 6d 61 6c 6c 79 26 | 6e 62 73 70 3b 31 2e 20 |ormally&|nbsp;1. |
|000032f0| 20 28 54 68 65 79 20 61 | 72 65 20 73 75 70 70 6f | (They a|re suppo|
|00003300| 73 65 64 20 74 6f 20 62 | 65 0a 6e 75 6d 62 65 72 |sed to b|e.number|
|00003310| 65 64 20 66 72 6f 6d 20 | 30 20 75 70 77 61 72 64 |ed from |0 upward|
|00003320| 73 29 2e 20 54 68 65 20 | 76 61 6c 75 65 20 3c 49 |s). The |value <I|
|00003330| 3e 63 61 70 61 63 69 74 | 79 3c 2f 49 3e 20 73 68 |>capacit|y</I> sh|
|00003340| 6f 75 6c 64 20 62 65 20 | 74 68 65 20 6e 75 6d 62 |ould be |the numb|
|00003350| 65 72 20 6f 66 0a 64 69 | 73 63 73 20 74 68 65 20 |er of.di|scs the |
|00003360| 64 72 69 76 65 20 63 61 | 6e 20 68 6f 6c 64 20 73 |drive ca|n hold s|
|00003370| 69 6d 75 6c 74 61 6e 65 | 6f 75 73 6c 79 2c 20 69 |imultane|ously, i|
|00003380| 66 20 69 74 20 69 73 20 | 64 65 73 69 67 6e 65 64 |f it is |designed|
|00003390| 20 61 73 20 61 0a 6a 75 | 6b 65 2d 62 6f 78 2c 20 | as a.ju|ke-box, |
|000033a0| 6f 72 20 6f 74 68 65 72 | 77 69 73 65 26 6e 62 73 |or other|wise&nbs|
|000033b0| 70 3b 31 2e 0a 3c 2f 54 | 54 3e 0a 3c 50 3e 0a 3c |p;1..</T|T>.<P>.<|
|000033c0| 54 54 3e 54 77 6f 20 72 | 65 67 69 73 74 65 72 73 |TT>Two r|egisters|
|000033d0| 20 63 6f 6e 74 61 69 6e | 20 76 61 72 69 61 62 6c | contain| variabl|
|000033e0| 65 73 20 6c 6f 63 61 6c | 20 74 6f 20 74 68 65 20 |es local| to the |
|000033f0| 43 44 3c 53 4d 41 4c 4c | 3e 52 4f 4d 3c 2f 53 4d |CD<SMALL|>ROM</SM|
|00003400| 41 4c 4c 3e 20 64 65 76 | 69 63 65 2e 20 54 68 65 |ALL> dev|ice. The|
|00003410| 20 66 6c 61 67 73 0a 3c | 49 3e 6f 70 74 69 6f 6e | flags.<|I>option|
|00003420| 73 3c 2f 49 3e 20 61 72 | 65 20 75 73 65 64 20 74 |s</I> ar|e used t|
|00003430| 6f 20 73 70 65 63 69 66 | 79 20 68 6f 77 20 74 68 |o specif|y how th|
|00003440| 65 20 67 65 6e 65 72 61 | 6c 20 43 44 3c 53 4d 41 |e genera|l CD<SMA|
|00003450| 4c 4c 3e 52 4f 4d 3c 2f | 53 4d 41 4c 4c 3e 20 72 |LL>ROM</|SMALL> r|
|00003460| 6f 75 74 69 6e 65 73 0a | 73 68 6f 75 6c 64 20 62 |outines.|should b|
|00003470| 65 68 61 76 65 2e 20 54 | 68 65 73 65 20 76 61 72 |ehave. T|hese var|
|00003480| 69 6f 75 73 20 66 6c 61 | 67 73 20 72 65 67 69 73 |ious fla|gs regis|
|00003490| 74 65 72 73 20 73 68 6f | 75 6c 64 20 70 72 6f 76 |ters sho|uld prov|
|000034a0| 69 64 65 20 65 6e 6f 75 | 67 68 0a 66 6c 65 78 69 |ide enou|gh.flexi|
|000034b0| 62 69 6c 69 74 79 20 74 | 6f 20 61 64 61 70 74 20 |bility t|o adapt |
|000034c0| 74 6f 20 74 68 65 20 64 | 69 66 66 65 72 65 6e 74 |to the d|ifferent|
|000034d0| 20 75 73 65 72 27 73 20 | 77 69 73 68 65 73 20 28 | user's |wishes (|
|000034e0| 61 6e 64 20 3c 45 4d 3e | 6e 6f 74 3c 2f 45 4d 3e |and <EM>|not</EM>|
|000034f0| 0a 74 68 65 20 60 61 72 | 62 69 74 72 61 72 79 27 |.the `ar|bitrary'|
|00003500| 20 77 69 73 68 65 73 20 | 6f 66 20 74 68 65 20 61 | wishes |of the a|
|00003510| 75 74 68 6f 72 20 6f 66 | 20 74 68 65 20 6c 6f 77 |uthor of| the low|
|00003520| 2d 6c 65 76 65 6c 20 64 | 65 76 69 63 65 20 64 72 |-level d|evice dr|
|00003530| 69 76 65 72 2c 0a 61 73 | 20 69 73 20 74 68 65 20 |iver,.as| is the |
|00003540| 63 61 73 65 20 69 6e 20 | 74 68 65 20 6f 6c 64 20 |case in |the old |
|00003550| 73 63 68 65 6d 65 29 2e | 20 54 68 65 20 72 65 67 |scheme).| The reg|
|00003560| 69 73 74 65 72 20 3c 49 | 3e 6d 63 3c 2f 49 3e 3c |ister <I|>mc</I><|
|00003570| 53 55 42 3e 66 3c 2f 53 | 55 42 3e 3c 49 3e 6c 61 |SUB>f</S|UB><I>la|
|00003580| 67 73 3c 2f 49 3e 20 69 | 73 20 75 73 65 64 20 74 |gs</I> i|s used t|
|00003590| 6f 0a 62 75 66 66 65 72 | 20 74 68 65 20 69 6e 66 |o.buffer| the inf|
|000035a0| 6f 72 6d 61 74 69 6f 6e | 20 66 72 6f 6d 20 3c 21 |ormation| from <!|
|000035b0| 2d 2d 20 4d 41 54 48 0a | 20 24 6d 65 64 69 61 5f |-- MATH.| $media_|
|000035c0| 63 68 61 6e 67 65 64 28 | 29 24 0a 20 2d 2d 3e 0a |changed(|)$. -->.|
|000035d0| 3c 49 3e 6d 65 64 69 61 | 3c 2f 49 3e 3c 53 55 42 |<I>media|</I><SUB|
|000035e0| 3e 63 3c 2f 53 55 42 3e | 3c 49 3e 68 61 6e 67 65 |>c</SUB>|<I>hange|
|000035f0| 64 3c 2f 49 3e 20 28 29 | 20 74 6f 20 74 77 6f 20 |d</I> ()| to two |
|00003600| 73 65 70 61 72 61 74 65 | 20 71 75 65 75 65 73 2e |separate| queues.|
|00003610| 20 0a 3c 2f 54 54 3e 0a | 3c 50 3e 0a 3c 54 54 3e | .</TT>.|<P>.<TT>|
|00003620| 4e 6f 74 65 20 74 68 61 | 74 20 6d 6f 73 74 20 66 |Note tha|t most f|
|00003630| 75 6e 63 74 69 6f 6e 73 | 20 68 61 76 65 20 66 65 |unctions| have fe|
|00003640| 77 65 72 20 70 61 72 61 | 6d 65 74 65 72 73 20 74 |wer para|meters t|
|00003650| 68 61 6e 20 74 68 65 69 | 72 0a 3c 21 2d 2d 20 4d |han thei|r.<!-- M|
|00003660| 41 54 48 0a 20 24 62 6c | 6b 64 65 76 5f 66 6f 70 |ATH. $bl|kdev_fop|
|00003670| 73 24 0a 20 2d 2d 3e 0a | 3c 49 3e 62 6c 6b 64 65 |s$. -->.|<I>blkde|
|00003680| 76 3c 2f 49 3e 3c 53 55 | 42 3e 66 3c 2f 53 55 42 |v</I><SU|B>f</SUB|
|00003690| 3e 3c 49 3e 6f 70 73 3c | 2f 49 3e 20 63 6f 75 6e |><I>ops<|/I> coun|
|000036a0| 74 65 72 70 61 72 74 73 | 2e 20 54 68 69 73 20 69 |terparts|. This i|
|000036b0| 73 20 62 65 63 61 75 73 | 65 20 76 65 72 79 20 6c |s becaus|e very l|
|000036c0| 69 74 74 6c 65 20 6f 66 | 20 74 68 65 0a 69 6e 66 |ittle of| the.inf|
|000036d0| 6f 72 6d 61 74 69 6f 6e | 20 69 6e 20 74 68 65 20 |ormation| in the |
|000036e0| 73 74 72 75 63 74 75 72 | 65 73 20 3c 49 3e 69 6e |structur|es <I>in|
|000036f0| 6f 64 65 3c 2f 49 3e 20 | 61 6e 64 20 3c 49 3e 66 |ode</I> |and <I>f|
|00003700| 69 6c 65 3c 2f 49 3e 20 | 61 72 65 20 75 73 65 64 |ile</I> |are used|
|00003710| 2c 20 74 68 65 20 6d 61 | 69 6e 0a 70 61 72 61 6d |, the ma|in.param|
|00003720| 65 74 65 72 20 69 73 20 | 74 68 65 20 64 65 76 69 |eter is |the devi|
|00003730| 63 65 20 3c 49 3e 64 65 | 76 3c 2f 49 3e 2c 20 66 |ce <I>de|v</I>, f|
|00003740| 72 6f 6d 20 77 68 69 63 | 68 20 74 68 65 20 6d 69 |rom whic|h the mi|
|00003750| 6e 6f 72 2d 6e 75 6d 62 | 65 72 20 63 61 6e 20 62 |nor-numb|er can b|
|00003760| 65 0a 65 78 74 72 61 63 | 74 65 64 2e 20 28 4d 6f |e.extrac|ted. (Mo|
|00003770| 73 74 20 6c 6f 77 2d 6c | 65 76 65 6c 20 43 44 3c |st low-l|evel CD<|
|00003780| 53 4d 41 4c 4c 3e 52 4f | 4d 3c 2f 53 4d 41 4c 4c |SMALL>RO|M</SMALL|
|00003790| 3e 20 64 72 69 76 65 72 | 73 20 64 6f 6e 27 74 20 |> driver|s don't |
|000037a0| 65 76 65 6e 20 6c 6f 6f | 6b 20 61 74 20 74 68 61 |even loo|k at tha|
|000037b0| 74 20 76 61 6c 75 65 0a | 61 73 20 6f 6e 6c 79 20 |t value.|as only |
|000037c0| 6f 6e 65 20 64 65 76 69 | 63 65 20 69 73 20 73 75 |one devi|ce is su|
|000037d0| 70 70 6f 72 74 65 64 2e | 29 0a 3c 2f 54 54 3e 0a |pported.|).</TT>.|
|000037e0| 3c 50 3e 0a 3c 54 54 3e | 54 68 65 20 69 6e 74 65 |<P>.<TT>|The inte|
|000037f0| 72 6d 65 64 69 61 74 65 | 20 73 6f 66 74 77 61 72 |rmediate| softwar|
|00003800| 65 20 6c 61 79 65 72 20 | 74 68 61 74 20 3c 54 54 |e layer |that <TT|
|00003810| 3e 63 64 72 6f 6d 2e 63 | 3c 2f 54 54 3e 20 66 6f |>cdrom.c|</TT> fo|
|00003820| 72 6d 73 20 77 69 6c 6c | 20 70 65 72 66 6f 72 6d |rms will| perform|
|00003830| 73 20 73 6f 6d 65 0a 61 | 64 64 69 74 69 6f 6e 61 |s some.a|dditiona|
|00003840| 6c 20 62 6f 6f 6b 6b 65 | 65 70 69 6e 67 2e 20 54 |l bookke|eping. T|
|00003850| 68 65 20 6d 69 6e 6f 72 | 20 6e 75 6d 62 65 72 20 |he minor| number |
|00003860| 6f 66 20 74 68 65 20 64 | 65 76 69 63 65 20 69 73 |of the d|evice is|
|00003870| 20 63 68 65 63 6b 65 64 | 0a 61 67 61 69 6e 73 74 | checked|.against|
|00003880| 20 74 68 65 20 6d 61 78 | 69 6d 75 6d 20 72 65 67 | the max|imum reg|
|00003890| 69 73 74 65 72 65 64 20 | 69 6e 20 3c 21 2d 2d 20 |istered |in <!-- |
|000038a0| 4d 41 54 48 0a 20 24 3c | 64 65 76 69 63 65 3e 5f |MATH. $<|device>_|
|000038b0| 64 6f 70 73 24 0a 20 2d | 2d 3e 0a 26 6c 74 3b 20 |dops$. -|->.< |
|000038c0| 3c 49 3e 64 65 76 69 63 | 65 3c 2f 49 3e 20 26 67 |<I>devic|e</I> &g|
|000038d0| 74 3b 20 3c 53 55 42 3e | 64 3c 2f 53 55 42 3e 3c |t; <SUB>|d</SUB><|
|000038e0| 49 3e 6f 70 73 3c 2f 49 | 3e 2e 20 54 68 65 20 66 |I>ops</I|>. The f|
|000038f0| 75 6e 63 74 69 6f 6e 0a | 3c 21 2d 2d 20 4d 41 54 |unction.|<!-- MAT|
|00003900| 48 0a 20 24 63 64 72 6f | 6d 5f 69 6f 63 74 6c 28 |H. $cdro|m_ioctl(|
|00003910| 29 24 0a 20 2d 2d 3e 0a | 3c 49 3e 63 64 72 6f 6d |)$. -->.|<I>cdrom|
|00003920| 3c 2f 49 3e 3c 53 55 42 | 3e 69 3c 2f 53 55 42 3e |</I><SUB|>i</SUB>|
|00003930| 3c 49 3e 6f 63 74 6c 3c | 2f 49 3e 20 28 29 20 77 |<I>octl<|/I> () w|
|00003940| 69 6c 6c 20 76 65 72 69 | 66 79 20 74 68 65 20 61 |ill veri|fy the a|
|00003950| 70 70 72 6f 70 72 69 61 | 74 65 20 75 73 65 72 2d |ppropria|te user-|
|00003960| 6d 65 6d 6f 72 79 20 72 | 65 67 69 6f 6e 73 20 66 |memory r|egions f|
|00003970| 6f 72 0a 72 65 61 64 20 | 61 6e 64 20 77 72 69 74 |or.read |and writ|
|00003980| 65 2c 20 61 6e 64 20 69 | 6e 20 63 61 73 65 20 61 |e, and i|n case a|
|00003990| 20 6c 6f 63 61 74 69 6f | 6e 20 6f 6e 20 74 68 65 | locatio|n on the|
|000039a0| 20 43 44 20 69 73 20 74 | 72 61 6e 73 66 65 72 72 | CD is t|ransferr|
|000039b0| 65 64 2c 20 69 74 0a 77 | 69 6c 6c 20 60 73 61 6e |ed, it.w|ill `san|
|000039c0| 69 74 69 7a 65 27 20 74 | 68 65 20 66 6f 72 6d 61 |itize' t|he forma|
|000039d0| 74 20 62 79 20 6d 61 6b | 69 6e 67 20 72 65 71 75 |t by mak|ing requ|
|000039e0| 65 73 74 73 20 74 6f 20 | 74 68 65 20 6c 6f 77 2d |ests to |the low-|
|000039f0| 6c 65 76 65 6c 20 64 72 | 69 76 65 72 73 0a 69 6e |level dr|ivers.in|
|00003a00| 20 61 20 73 74 61 6e 64 | 61 72 64 20 66 6f 72 6d | a stand|ard form|
|00003a10| 61 74 2c 20 61 6e 64 20 | 74 72 61 6e 73 6c 61 74 |at, and |translat|
|00003a20| 69 6e 67 20 61 6c 6c 20 | 66 6f 72 6d 61 74 73 20 |ing all |formats |
|00003a30| 62 65 74 77 65 65 6e 20 | 74 68 65 0a 75 73 65 72 |between |the.user|
|00003a40| 2d 73 6f 66 74 77 61 72 | 65 20 61 6e 64 20 6c 6f |-softwar|e and lo|
|00003a50| 77 20 6c 65 76 65 6c 20 | 64 72 69 76 65 72 73 2e |w level |drivers.|
|00003a60| 20 54 68 69 73 20 72 65 | 6c 69 65 76 65 73 20 6d | This re|lieves m|
|00003a70| 75 63 68 20 6f 66 20 74 | 68 65 20 64 72 69 76 65 |uch of t|he drive|
|00003a80| 72 73 0a 6d 65 6d 6f 72 | 79 20 63 68 65 63 6b 69 |rs.memor|y checki|
|00003a90| 6e 67 20 61 6e 64 20 66 | 6f 72 6d 61 74 20 63 68 |ng and f|ormat ch|
|00003aa0| 65 63 6b 69 6e 67 20 61 | 6e 64 20 74 72 61 6e 73 |ecking a|nd trans|
|00003ab0| 6c 61 74 69 6f 6e 2e 20 | 41 6c 73 6f 2c 20 74 68 |lation. |Also, th|
|00003ac0| 65 0a 6e 65 63 65 73 73 | 61 72 79 20 73 74 72 75 |e.necess|ary stru|
|00003ad0| 63 74 75 72 65 73 20 77 | 69 6c 6c 20 62 65 20 64 |ctures w|ill be d|
|00003ae0| 65 63 6c 61 72 65 64 20 | 6f 6e 20 74 68 65 20 70 |eclared |on the p|
|00003af0| 72 6f 67 72 61 6d 20 73 | 74 61 63 6b 2e 0a 3c 2f |rogram s|tack..</|
|00003b00| 54 54 3e 0a 3c 50 3e 0a | 3c 54 54 3e 54 68 65 20 |TT>.<P>.|<TT>The |
|00003b10| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 20 6f |implemen|tation o|
|00003b20| 66 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 |f the fu|nctions |
|00003b30| 73 68 6f 75 6c 64 20 62 | 65 20 61 73 20 64 65 66 |should b|e as def|
|00003b40| 69 6e 65 64 20 69 6e 20 | 74 68 65 0a 66 6f 6c 6c |ined in |the.foll|
|00003b50| 6f 77 69 6e 67 20 73 65 | 63 74 69 6f 6e 73 2e 20 |owing se|ctions. |
|00003b60| 54 68 72 65 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 |Three fu|nctions |
|00003b70| 3c 45 4d 3e 6d 75 73 74 | 3c 2f 45 4d 3e 20 62 65 |<EM>must|</EM> be|
|00003b80| 20 69 6d 70 6c 65 6d 65 | 6e 74 65 64 2c 0a 6e 61 | impleme|nted,.na|
|00003b90| 6d 65 6c 79 20 3c 49 3e | 6f 70 65 6e 3c 2f 49 3e |mely <I>|open</I>|
|00003ba0| 28 29 2c 20 3c 49 3e 72 | 65 6c 65 61 73 65 3c 2f |(), <I>r|elease</|
|00003bb0| 49 3e 28 29 20 61 6e 64 | 20 3c 21 2d 2d 20 4d 41 |I>() and| <!-- MA|
|00003bc0| 54 48 0a 20 24 6f 70 65 | 6e 5f 66 69 6c 65 73 28 |TH. $ope|n_files(|
|00003bd0| 29 24 0a 20 2d 2d 3e 0a | 3c 49 3e 6f 70 65 6e 3c |)$. -->.|<I>open<|
|00003be0| 2f 49 3e 3c 53 55 42 3e | 66 3c 2f 53 55 42 3e 3c |/I><SUB>|f</SUB><|
|00003bf0| 49 3e 69 6c 65 73 3c 2f | 49 3e 28 29 2e 20 4f 74 |I>iles</|I>(). Ot|
|00003c00| 68 65 72 20 66 75 6e 63 | 74 69 6f 6e 73 20 6d 61 |her func|tions ma|
|00003c10| 79 0a 62 65 20 6f 6d 69 | 74 74 65 64 2c 20 74 68 |y.be omi|tted, th|
|00003c20| 65 69 72 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |eir corr|espondin|
|00003c30| 67 20 63 61 70 61 62 69 | 6c 69 74 79 20 66 6c 61 |g capabi|lity fla|
|00003c40| 67 73 20 77 69 6c 6c 20 | 62 65 20 63 6c 65 61 72 |gs will |be clear|
|00003c50| 65 64 20 75 70 6f 6e 0a | 72 65 67 69 73 74 72 61 |ed upon.|registra|
|00003c60| 74 69 6f 6e 2e 20 47 65 | 6e 65 72 61 6c 6c 79 2c |tion. Ge|nerally,|
|00003c70| 20 61 20 66 75 6e 63 74 | 69 6f 6e 20 72 65 74 75 | a funct|ion retu|
|00003c80| 72 6e 73 20 7a 65 72 6f | 20 6f 6e 20 73 75 63 63 |rns zero| on succ|
|00003c90| 65 73 73 20 61 6e 64 0a | 6e 65 67 61 74 69 76 65 |ess and.|negative|
|00003ca0| 20 6f 6e 20 65 72 72 6f | 72 2e 20 41 20 66 75 6e | on erro|r. A fun|
|00003cb0| 63 74 69 6f 6e 20 63 61 | 6c 6c 20 73 68 6f 75 6c |ction ca|ll shoul|
|00003cc0| 64 20 72 65 74 75 72 6e | 20 6f 6e 6c 79 20 61 66 |d return| only af|
|00003cd0| 74 65 72 20 74 68 65 0a | 63 6f 6d 6d 61 6e 64 20 |ter the.|command |
|00003ce0| 68 61 73 20 63 6f 6d 70 | 6c 65 74 65 64 2c 20 62 |has comp|leted, b|
|00003cf0| 75 74 20 6f 66 20 63 6f | 75 72 73 65 20 77 61 69 |ut of co|urse wai|
|00003d00| 74 69 6e 67 20 66 6f 72 | 20 74 68 65 20 64 65 76 |ting for| the dev|
|00003d10| 69 63 65 20 73 68 6f 75 | 6c 64 20 6e 6f 74 0a 75 |ice shou|ld not.u|
|00003d20| 73 65 20 70 72 6f 63 65 | 73 73 6f 72 20 74 69 6d |se proce|ssor tim|
|00003d30| 65 2e 0a 3c 2f 54 54 3e | 0a 3c 50 3e 0a 3c 42 52 |e..</TT>|.<P>.<BR|
|00003d40| 3e 3c 48 52 3e 0a 3c 21 | 2d 2d 54 61 62 6c 65 20 |><HR>.<!|--Table |
|00003d50| 6f 66 20 43 68 69 6c 64 | 2d 4c 69 6e 6b 73 2d 2d |of Child|-Links--|
|00003d60| 3e 0a 3c 41 20 49 44 3d | 22 43 48 49 4c 44 5f 4c |>.<A ID=|"CHILD_L|
|00003d70| 49 4e 4b 53 22 3e 3c 53 | 54 52 4f 4e 47 3e 53 75 |INKS"><S|TRONG>Su|
|00003d80| 62 73 65 63 74 69 6f 6e | 73 3c 2f 53 54 52 4f 4e |bsection|s</STRON|
|00003d90| 47 3e 3c 2f 41 3e 0a 0a | 3c 55 4c 3e 0a 3c 4c 49 |G></A>..|<UL>.<LI|
|00003da0| 3e 3c 41 20 4e 41 4d 45 | 3d 22 74 65 78 32 68 74 |><A NAME|="tex2ht|
|00003db0| 6d 6c 34 30 22 20 48 52 | 45 46 3d 22 6e 6f 64 65 |ml40" HR|EF="node|
|00003dc0| 33 5f 63 74 2e 68 74 6d | 6c 22 20 54 41 52 47 45 |3_ct.htm|l" TARGE|
|00003dd0| 54 3d 22 63 6f 6e 74 65 | 6e 74 73 22 3e 3c 53 4d |T="conte|nts"><SM|
|00003de0| 41 4c 4c 3e 3c 21 2d 2d | 20 4d 41 54 48 0a 20 24 |ALL><!--| MATH. $|
|00003df0| 4f 70 65 6e 28 6b 64 65 | 76 5f 74 5c 20 64 65 76 |Open(kde|v_t\ dev|
|00003e00| 2c 20 69 6e 74 5c 20 70 | 75 72 70 6f 73 65 29 24 |, int\ p|urpose)$|
|00003e10| 0a 20 2d 2d 3e 0a 3c 49 | 3e 4f 70 65 6e 3c 2f 49 |. -->.<I|>Open</I|
|00003e20| 3e 28 3c 49 3e 6b 64 65 | 76 3c 2f 49 3e 3c 53 55 |>(<I>kde|v</I><SU|
|00003e30| 42 3e 74 3c 2f 53 55 42 | 3e 26 6e 62 73 70 3b 3c |B>t</SUB|> <|
|00003e40| 49 3e 64 65 76 3c 2f 49 | 3e 2c 20 3c 49 3e 69 6e |I>dev</I|>, <I>in|
|00003e50| 74 3c 2f 49 3e 26 6e 62 | 73 70 3b 3c 49 3e 70 75 |t</I>&nb|sp;<I>pu|
|00003e60| 72 70 6f 73 65 3c 2f 49 | 3e 29 3c 2f 53 4d 41 4c |rpose</I|>)</SMAL|
|00003e70| 4c 3e 3c 2f 41 3e 0a 3c | 4c 49 3e 3c 41 20 4e 41 |L></A>.<|LI><A NA|
|00003e80| 4d 45 3d 22 74 65 78 32 | 68 74 6d 6c 34 31 22 20 |ME="tex2|html41" |
|00003e90| 48 52 45 46 3d 22 6e 6f | 64 65 34 5f 6d 6e 2e 68 |HREF="no|de4_mn.h|
|00003ea0| 74 6d 6c 22 20 54 41 52 | 47 45 54 3d 22 6d 61 69 |tml" TAR|GET="mai|
|00003eb0| 6e 22 3e 3c 53 4d 41 4c | 4c 3e 3c 21 2d 2d 20 4d |n"><SMAL|L><!-- M|
|00003ec0| 41 54 48 0a 20 24 52 65 | 6c 65 61 73 65 28 6b 64 |ATH. $Re|lease(kd|
|00003ed0| 65 76 5f 74 5c 20 64 65 | 76 29 24 0a 20 2d 2d 3e |ev_t\ de|v)$. -->|
|00003ee0| 0a 3c 49 3e 52 65 6c 65 | 61 73 65 3c 2f 49 3e 28 |.<I>Rele|ase</I>(|
|00003ef0| 3c 49 3e 6b 64 65 76 3c | 2f 49 3e 3c 53 55 42 3e |<I>kdev<|/I><SUB>|
|00003f00| 74 3c 2f 53 55 42 3e 26 | 6e 62 73 70 3b 3c 49 3e |t</SUB>&|nbsp;<I>|
|00003f10| 64 65 76 3c 2f 49 3e 29 | 3c 2f 53 4d 41 4c 4c 3e |dev</I>)|</SMALL>|
|00003f20| 3c 2f 41 3e 0a 3c 4c 49 | 3e 3c 41 20 4e 41 4d 45 |</A>.<LI|><A NAME|
|00003f30| 3d 22 74 65 78 32 68 74 | 6d 6c 34 32 22 20 48 52 |="tex2ht|ml42" HR|
|00003f40| 45 46 3d 22 6e 6f 64 65 | 35 5f 6d 6e 2e 68 74 6d |EF="node|5_mn.htm|
|00003f50| 6c 22 20 54 41 52 47 45 | 54 3d 22 6d 61 69 6e 22 |l" TARGE|T="main"|
|00003f60| 3e 3c 53 4d 41 4c 4c 3e | 3c 21 2d 2d 20 4d 41 54 |><SMALL>|<!-- MAT|
|00003f70| 48 0a 20 24 4f 70 65 6e | 5f 66 69 6c 65 73 28 6b |H. $Open|_files(k|
|00003f80| 64 65 76 5f 74 5c 20 64 | 65 76 29 24 0a 20 2d 2d |dev_t\ d|ev)$. --|
|00003f90| 3e 0a 3c 49 3e 4f 70 65 | 6e 3c 2f 49 3e 3c 53 55 |>.<I>Ope|n</I><SU|
|00003fa0| 42 3e 66 3c 2f 53 55 42 | 3e 3c 49 3e 69 6c 65 73 |B>f</SUB|><I>iles|
|00003fb0| 3c 2f 49 3e 28 3c 49 3e | 6b 64 65 76 3c 2f 49 3e |</I>(<I>|kdev</I>|
|00003fc0| 3c 53 55 42 3e 74 3c 2f | 53 55 42 3e 26 6e 62 73 |<SUB>t</|SUB>&nbs|
|00003fd0| 70 3b 3c 49 3e 64 65 76 | 3c 2f 49 3e 29 3c 2f 53 |p;<I>dev|</I>)</S|
|00003fe0| 4d 41 4c 4c 3e 3c 2f 41 | 3e 0a 3c 4c 49 3e 3c 41 |MALL></A|>.<LI><A|
|00003ff0| 20 4e 41 4d 45 3d 22 74 | 65 78 32 68 74 6d 6c 34 | NAME="t|ex2html4|
|00004000| 33 22 20 48 52 45 46 3d | 22 6e 6f 64 65 36 5f 6d |3" HREF=|"node6_m|
|00004010| 6e 2e 68 74 6d 6c 22 20 | 54 41 52 47 45 54 3d 22 |n.html" |TARGET="|
|00004020| 6d 61 69 6e 22 3e 3c 53 | 4d 41 4c 4c 3e 3c 21 2d |main"><S|MALL><!-|
|00004030| 2d 20 4d 41 54 48 0a 20 | 24 44 72 69 76 65 5f 73 |- MATH. |$Drive_s|
|00004040| 74 61 74 75 73 28 6b 64 | 65 76 5f 74 5c 20 64 65 |tatus(kd|ev_t\ de|
|00004050| 76 29 24 0a 20 2d 2d 3e | 0a 3c 49 3e 44 72 69 76 |v)$. -->|.<I>Driv|
|00004060| 65 3c 2f 49 3e 3c 53 55 | 42 3e 73 3c 2f 53 55 42 |e</I><SU|B>s</SUB|
|00004070| 3e 3c 49 3e 74 61 74 75 | 73 3c 2f 49 3e 28 3c 49 |><I>tatu|s</I>(<I|
|00004080| 3e 6b 64 65 76 3c 2f 49 | 3e 3c 53 55 42 3e 74 3c |>kdev</I|><SUB>t<|
|00004090| 2f 53 55 42 3e 26 6e 62 | 73 70 3b 3c 49 3e 64 65 |/SUB>&nb|sp;<I>de|
|000040a0| 76 3c 2f 49 3e 29 3c 2f | 53 4d 41 4c 4c 3e 3c 2f |v</I>)</|SMALL></|
|000040b0| 41 3e 0a 3c 4c 49 3e 3c | 41 20 4e 41 4d 45 3d 22 |A>.<LI><|A NAME="|
|000040c0| 74 65 78 32 68 74 6d 6c | 34 34 22 20 48 52 45 46 |tex2html|44" HREF|
|000040d0| 3d 22 6e 6f 64 65 37 5f | 6d 6e 2e 68 74 6d 6c 22 |="node7_|mn.html"|
|000040e0| 20 54 41 52 47 45 54 3d | 22 6d 61 69 6e 22 3e 3c | TARGET=|"main"><|
|000040f0| 53 4d 41 4c 4c 3e 3c 21 | 2d 2d 20 4d 41 54 48 0a |SMALL><!|-- MATH.|
|00004100| 20 24 44 69 73 63 5f 73 | 74 61 74 75 73 28 6b 64 | $Disc_s|tatus(kd|
|00004110| 65 76 5f 74 5c 20 64 65 | 76 29 24 0a 20 2d 2d 3e |ev_t\ de|v)$. -->|
|00004120| 0a 3c 49 3e 44 69 73 63 | 3c 2f 49 3e 3c 53 55 42 |.<I>Disc|</I><SUB|
|00004130| 3e 73 3c 2f 53 55 42 3e | 3c 49 3e 74 61 74 75 73 |>s</SUB>|<I>tatus|
|00004140| 3c 2f 49 3e 28 3c 49 3e | 6b 64 65 76 3c 2f 49 3e |</I>(<I>|kdev</I>|
|00004150| 3c 53 55 42 3e 74 3c 2f | 53 55 42 3e 26 6e 62 73 |<SUB>t</|SUB>&nbs|
|00004160| 70 3b 3c 49 3e 64 65 76 | 3c 2f 49 3e 29 3c 2f 53 |p;<I>dev|</I>)</S|
|00004170| 4d 41 4c 4c 3e 3c 2f 41 | 3e 0a 3c 4c 49 3e 3c 41 |MALL></A|>.<LI><A|
|00004180| 20 4e 41 4d 45 3d 22 74 | 65 78 32 68 74 6d 6c 34 | NAME="t|ex2html4|
|00004190| 35 22 20 48 52 45 46 3d | 22 6e 6f 64 65 38 5f 6d |5" HREF=|"node8_m|
|000041a0| 6e 2e 68 74 6d 6c 22 20 | 54 41 52 47 45 54 3d 22 |n.html" |TARGET="|
|000041b0| 6d 61 69 6e 22 3e 3c 53 | 4d 41 4c 4c 3e 3c 21 2d |main"><S|MALL><!-|
|000041c0| 2d 20 4d 41 54 48 0a 20 | 24 4d 65 64 69 61 5f 63 |- MATH. |$Media_c|
|000041d0| 68 61 6e 67 65 64 28 64 | 65 76 5c 5f 74 5c 20 64 |hanged(d|ev\_t\ d|
|000041e0| 65 76 29 24 0a 20 2d 2d | 3e 0a 3c 49 3e 4d 65 64 |ev)$. --|>.<I>Med|
|000041f0| 69 61 3c 2f 49 3e 3c 53 | 55 42 3e 63 3c 2f 53 55 |ia</I><S|UB>c</SU|
|00004200| 42 3e 3c 49 3e 68 61 6e | 67 65 64 3c 2f 49 3e 20 |B><I>han|ged</I> |
|00004210| 28 3c 49 3e 64 65 76 3c | 2f 49 3e 3c 49 4d 47 0a |(<I>dev<|/I><IMG.|
|00004220| 20 53 54 59 4c 45 3d 22 | 22 20 53 52 43 3d 22 69 | STYLE="|" SRC="i|
|00004230| 6d 67 36 2e 70 6e 67 22 | 0a 20 41 4c 54 3d 22 24 |mg6.png"|. ALT="$|
|00004240| 5c 5f 74 24 22 3e 26 6e | 62 73 70 3b 3c 49 3e 64 |\_t$">&n|bsp;<I>d|
|00004250| 65 76 3c 2f 49 3e 29 3c | 2f 53 4d 41 4c 4c 3e 3c |ev</I>)<|/SMALL><|
|00004260| 2f 41 3e 0a 3c 4c 49 3e | 3c 41 20 4e 41 4d 45 3d |/A>.<LI>|<A NAME=|
|00004270| 22 74 65 78 32 68 74 6d | 6c 34 36 22 20 48 52 45 |"tex2htm|l46" HRE|
|00004280| 46 3d 22 6e 6f 64 65 39 | 5f 6d 6e 2e 68 74 6d 6c |F="node9|_mn.html|
|00004290| 22 20 54 41 52 47 45 54 | 3d 22 6d 61 69 6e 22 3e |" TARGET|="main">|
|000042a0| 3c 53 4d 41 4c 4c 3e 3c | 21 2d 2d 20 4d 41 54 48 |<SMALL><|!-- MATH|
|000042b0| 0a 20 24 54 72 61 79 5f | 6d 6f 76 65 28 6b 64 65 |. $Tray_|move(kde|
|000042c0| 76 5f 74 5c 20 64 65 76 | 2c 20 69 6e 74 5c 20 70 |v_t\ dev|, int\ p|
|000042d0| 6f 73 69 74 69 6f 6e 29 | 24 0a 20 2d 2d 3e 0a 3c |osition)|$. -->.<|
|000042e0| 49 3e 54 72 61 79 3c 2f | 49 3e 3c 53 55 42 3e 6d |I>Tray</|I><SUB>m|
|000042f0| 3c 2f 53 55 42 3e 3c 49 | 3e 6f 76 65 3c 2f 49 3e |</SUB><I|>ove</I>|
|00004300| 28 3c 49 3e 6b 64 65 76 | 3c 2f 49 3e 3c 53 55 42 |(<I>kdev|</I><SUB|
|00004310| 3e 74 3c 2f 53 55 42 3e | 26 6e 62 73 70 3b 3c 49 |>t</SUB>| <I|
|00004320| 3e 64 65 76 3c 2f 49 3e | 2c 20 3c 49 3e 69 6e 74 |>dev</I>|, <I>int|
|00004330| 3c 2f 49 3e 26 6e 62 73 | 70 3b 3c 49 3e 70 6f 73 |</I>&nbs|p;<I>pos|
|00004340| 69 74 69 6f 6e 3c 2f 49 | 3e 29 3c 2f 53 4d 41 4c |ition</I|>)</SMAL|
|00004350| 4c 3e 3c 2f 41 3e 0a 3c | 4c 49 3e 3c 41 20 4e 41 |L></A>.<|LI><A NA|
|00004360| 4d 45 3d 22 74 65 78 32 | 68 74 6d 6c 34 37 22 20 |ME="tex2|html47" |
|00004370| 48 52 45 46 3d 22 6e 6f | 64 65 31 30 5f 6d 6e 2e |HREF="no|de10_mn.|
|00004380| 68 74 6d 6c 22 20 54 41 | 52 47 45 54 3d 22 6d 61 |html" TA|RGET="ma|
|00004390| 69 6e 22 3e 3c 53 4d 41 | 4c 4c 3e 3c 21 2d 2d 20 |in"><SMA|LL><!-- |
|000043a0| 4d 41 54 48 0a 20 24 4c | 6f 63 6b 5f 64 6f 6f 72 |MATH. $L|ock_door|
|000043b0| 28 6b 64 65 76 5f 74 5c | 20 64 65 76 2c 20 69 6e |(kdev_t\| dev, in|
|000043c0| 74 5c 20 6c 6f 63 6b 29 | 24 0a 20 2d 2d 3e 0a 3c |t\ lock)|$. -->.<|
|000043d0| 49 3e 4c 6f 63 6b 3c 2f | 49 3e 3c 53 55 42 3e 64 |I>Lock</|I><SUB>d|
|000043e0| 3c 2f 53 55 42 3e 3c 49 | 3e 6f 6f 72 3c 2f 49 3e |</SUB><I|>oor</I>|
|000043f0| 28 3c 49 3e 6b 64 65 76 | 3c 2f 49 3e 3c 53 55 42 |(<I>kdev|</I><SUB|
|00004400| 3e 74 3c 2f 53 55 42 3e | 26 6e 62 73 70 3b 3c 49 |>t</SUB>| <I|
|00004410| 3e 64 65 76 3c 2f 49 3e | 2c 20 3c 49 3e 69 6e 74 |>dev</I>|, <I>int|
|00004420| 3c 2f 49 3e 26 6e 62 73 | 70 3b 3c 49 3e 6c 6f 63 |</I>&nbs|p;<I>loc|
|00004430| 6b 3c 2f 49 3e 29 3c 2f | 53 4d 41 4c 4c 3e 3c 2f |k</I>)</|SMALL></|
|00004440| 41 3e 0a 3c 4c 49 3e 3c | 41 20 4e 41 4d 45 3d 22 |A>.<LI><|A NAME="|
|00004450| 74 65 78 32 68 74 6d 6c | 34 38 22 20 48 52 45 46 |tex2html|48" HREF|
|00004460| 3d 22 6e 6f 64 65 31 31 | 5f 6d 6e 2e 68 74 6d 6c |="node11|_mn.html|
|00004470| 22 20 54 41 52 47 45 54 | 3d 22 6d 61 69 6e 22 3e |" TARGET|="main">|
|00004480| 3c 53 4d 41 4c 4c 3e 3c | 21 2d 2d 20 4d 41 54 48 |<SMALL><|!-- MATH|
|00004490| 0a 20 24 53 65 6c 65 63 | 74 5f 73 70 65 65 64 28 |. $Selec|t_speed(|
|000044a0| 6b 64 65 76 5f 74 5c 20 | 64 65 76 2c 20 69 6e 74 |kdev_t\ |dev, int|
|000044b0| 5c 20 73 70 65 65 64 29 | 24 0a 20 2d 2d 3e 0a 3c |\ speed)|$. -->.<|
|000044c0| 49 3e 53 65 6c 65 63 74 | 3c 2f 49 3e 3c 53 55 42 |I>Select|</I><SUB|
|000044d0| 3e 73 3c 2f 53 55 42 3e | 3c 49 3e 70 65 65 64 3c |>s</SUB>|<I>peed<|
|000044e0| 2f 49 3e 20 28 3c 49 3e | 6b 64 65 76 3c 2f 49 3e |/I> (<I>|kdev</I>|
|000044f0| 3c 53 55 42 3e 74 3c 2f | 53 55 42 3e 26 6e 62 73 |<SUB>t</|SUB>&nbs|
|00004500| 70 3b 3c 49 3e 64 65 76 | 3c 2f 49 3e 2c 20 3c 49 |p;<I>dev|</I>, <I|
|00004510| 3e 69 6e 74 3c 2f 49 3e | 26 6e 62 73 70 3b 3c 49 |>int</I>| <I|
|00004520| 3e 73 70 65 65 64 3c 2f | 49 3e 20 29 3c 2f 53 4d |>speed</|I> )</SM|
|00004530| 41 4c 4c 3e 3c 2f 41 3e | 0a 3c 4c 49 3e 3c 41 20 |ALL></A>|.<LI><A |
|00004540| 4e 41 4d 45 3d 22 74 65 | 78 32 68 74 6d 6c 34 39 |NAME="te|x2html49|
|00004550| 22 20 48 52 45 46 3d 22 | 6e 6f 64 65 31 32 5f 6d |" HREF="|node12_m|
|00004560| 6e 2e 68 74 6d 6c 22 20 | 54 41 52 47 45 54 3d 22 |n.html" |TARGET="|
|00004570| 6d 61 69 6e 22 3e 3c 53 | 4d 41 4c 4c 3e 3c 21 2d |main"><S|MALL><!-|
|00004580| 2d 20 4d 41 54 48 0a 20 | 24 53 65 6c 65 63 74 5f |- MATH. |$Select_|
|00004590| 64 69 73 63 28 6b 64 65 | 76 5f 74 5c 20 64 65 76 |disc(kde|v_t\ dev|
|000045a0| 2c 20 69 6e 74 5c 20 6e | 75 6d 62 65 72 29 24 0a |, int\ n|umber)$.|
|000045b0| 20 2d 2d 3e 0a 3c 49 3e | 53 65 6c 65 63 74 3c 2f | -->.<I>|Select</|
|000045c0| 49 3e 3c 53 55 42 3e 64 | 3c 2f 53 55 42 3e 3c 49 |I><SUB>d|</SUB><I|
|000045d0| 3e 69 73 63 3c 2f 49 3e | 28 3c 49 3e 6b 64 65 76 |>isc</I>|(<I>kdev|
|000045e0| 3c 2f 49 3e 3c 53 55 42 | 3e 74 3c 2f 53 55 42 3e |</I><SUB|>t</SUB>|
|000045f0| 26 6e 62 73 70 3b 3c 49 | 3e 64 65 76 3c 2f 49 3e | <I|>dev</I>|
|00004600| 2c 20 3c 49 3e 69 6e 74 | 3c 2f 49 3e 26 6e 62 73 |, <I>int|</I>&nbs|
|00004610| 70 3b 3c 49 3e 6e 75 6d | 62 65 72 3c 2f 49 3e 29 |p;<I>num|ber</I>)|
|00004620| 3c 2f 53 4d 41 4c 4c 3e | 3c 2f 41 3e 0a 3c 4c 49 |</SMALL>|</A>.<LI|
|00004630| 3e 3c 41 20 4e 41 4d 45 | 3d 22 74 65 78 32 68 74 |><A NAME|="tex2ht|
|00004640| 6d 6c 35 30 22 20 48 52 | 45 46 3d 22 6e 6f 64 65 |ml50" HR|EF="node|
|00004650| 31 33 5f 6d 6e 2e 68 74 | 6d 6c 22 20 54 41 52 47 |13_mn.ht|ml" TARG|
|00004660| 45 54 3d 22 6d 61 69 6e | 22 3e 3c 53 4d 41 4c 4c |ET="main|"><SMALL|
|00004670| 3e 3c 21 2d 2d 20 4d 41 | 54 48 0a 20 24 47 65 74 |><!-- MA|TH. $Get|
|00004680| 5f 6c 61 73 74 5f 73 65 | 73 73 69 6f 6e 28 6b 64 |_last_se|ssion(kd|
|00004690| 65 76 5f 74 5c 20 64 65 | 76 2c 20 73 74 72 75 63 |ev_t\ de|v, struc|
|000046a0| 74 5c 20 63 64 72 6f 6d | 5f 6d 75 6c 74 69 73 65 |t\ cdrom|_multise|
|000046b0| 73 73 69 6f 6e 20 2a 0a | 6d 73 5f 69 6e 66 6f 29 |ssion *.|ms_info)|
|000046c0| 24 0a 20 2d 2d 3e 0a 3c | 49 3e 47 65 74 3c 2f 49 |$. -->.<|I>Get</I|
|000046d0| 3e 3c 53 55 42 3e 6c 3c | 2f 53 55 42 3e 3c 49 3e |><SUB>l<|/SUB><I>|
|000046e0| 61 73 74 3c 2f 49 3e 3c | 53 55 42 3e 73 3c 2f 53 |ast</I><|SUB>s</S|
|000046f0| 55 42 3e 3c 49 3e 65 73 | 73 69 6f 6e 3c 2f 49 3e |UB><I>es|sion</I>|
|00004700| 28 3c 49 3e 6b 64 65 76 | 3c 2f 49 3e 3c 53 55 42 |(<I>kdev|</I><SUB|
|00004710| 3e 74 3c 2f 53 55 42 3e | 26 6e 62 73 70 3b 3c 49 |>t</SUB>| <I|
|00004720| 3e 64 65 76 3c 2f 49 3e | 2c 20 3c 49 3e 73 74 72 |>dev</I>|, <I>str|
|00004730| 75 63 74 3c 2f 49 3e 26 | 6e 62 73 70 3b 3c 49 3e |uct</I>&|nbsp;<I>|
|00004740| 63 64 72 6f 6d 3c 2f 49 | 3e 3c 53 55 42 3e 6d 3c |cdrom</I|><SUB>m<|
|00004750| 2f 53 55 42 3e 3c 49 3e | 75 6c 74 69 73 65 73 73 |/SUB><I>|ultisess|
|00004760| 69 6f 6e 3c 2f 49 3e 2a | 3c 49 3e 6d 73 3c 2f 49 |ion</I>*|<I>ms</I|
|00004770| 3e 3c 53 55 42 3e 69 3c | 2f 53 55 42 3e 3c 49 3e |><SUB>i<|/SUB><I>|
|00004780| 6e 66 6f 3c 2f 49 3e 29 | 3c 2f 53 4d 41 4c 4c 3e |nfo</I>)|</SMALL>|
|00004790| 3c 2f 41 3e 0a 3c 4c 49 | 3e 3c 41 20 4e 41 4d 45 |</A>.<LI|><A NAME|
|000047a0| 3d 22 74 65 78 32 68 74 | 6d 6c 35 31 22 20 48 52 |="tex2ht|ml51" HR|
|000047b0| 45 46 3d 22 6e 6f 64 65 | 31 34 5f 6d 6e 2e 68 74 |EF="node|14_mn.ht|
|000047c0| 6d 6c 22 20 54 41 52 47 | 45 54 3d 22 6d 61 69 6e |ml" TARG|ET="main|
|000047d0| 22 3e 3c 53 4d 41 4c 4c | 3e 3c 21 2d 2d 20 4d 41 |"><SMALL|><!-- MA|
|000047e0| 54 48 0a 20 24 47 65 74 | 5f 6d 63 6e 28 6b 64 65 |TH. $Get|_mcn(kde|
|000047f0| 76 5f 74 5c 20 64 65 76 | 2c 20 73 74 72 75 63 74 |v_t\ dev|, struct|
|00004800| 5c 20 63 64 72 6f 6d 5f | 6d 63 6e 20 2a 20 6d 63 |\ cdrom_|mcn * mc|
|00004810| 6e 29 24 0a 20 2d 2d 3e | 0a 3c 49 3e 47 65 74 3c |n)$. -->|.<I>Get<|
|00004820| 2f 49 3e 3c 53 55 42 3e | 6d 3c 2f 53 55 42 3e 3c |/I><SUB>|m</SUB><|
|00004830| 49 3e 63 6e 3c 2f 49 3e | 28 3c 49 3e 6b 64 65 76 |I>cn</I>|(<I>kdev|
|00004840| 3c 2f 49 3e 3c 53 55 42 | 3e 74 3c 2f 53 55 42 3e |</I><SUB|>t</SUB>|
|00004850| 26 6e 62 73 70 3b 3c 49 | 3e 64 65 76 3c 2f 49 3e | <I|>dev</I>|
|00004860| 2c 20 3c 49 3e 73 74 72 | 75 63 74 3c 2f 49 3e 26 |, <I>str|uct</I>&|
|00004870| 6e 62 73 70 3b 3c 49 3e | 63 64 72 6f 6d 3c 2f 49 |nbsp;<I>|cdrom</I|
|00004880| 3e 3c 53 55 42 3e 6d 3c | 2f 53 55 42 3e 3c 49 3e |><SUB>m<|/SUB><I>|
|00004890| 63 6e 3c 2f 49 3e 2a 3c | 49 3e 6d 63 6e 3c 2f 49 |cn</I>*<|I>mcn</I|
|000048a0| 3e 29 3c 2f 53 4d 41 4c | 4c 3e 3c 2f 41 3e 0a 3c |>)</SMAL|L></A>.<|
|000048b0| 4c 49 3e 3c 41 20 4e 41 | 4d 45 3d 22 74 65 78 32 |LI><A NA|ME="tex2|
|000048c0| 68 74 6d 6c 35 32 22 20 | 48 52 45 46 3d 22 6e 6f |html52" |HREF="no|
|000048d0| 64 65 31 35 5f 6d 6e 2e | 68 74 6d 6c 22 20 54 41 |de15_mn.|html" TA|
|000048e0| 52 47 45 54 3d 22 6d 61 | 69 6e 22 3e 3c 53 4d 41 |RGET="ma|in"><SMA|
|000048f0| 4c 4c 3e 3c 21 2d 2d 20 | 4d 41 54 48 0a 20 24 52 |LL><!-- |MATH. $R|
|00004900| 65 73 65 74 28 6b 64 65 | 76 5f 74 20 64 65 76 29 |eset(kde|v_t dev)|
|00004910| 24 0a 20 2d 2d 3e 0a 3c | 49 3e 52 65 73 65 74 3c |$. -->.<|I>Reset<|
|00004920| 2f 49 3e 28 3c 49 3e 6b | 64 65 76 3c 2f 49 3e 3c |/I>(<I>k|dev</I><|
|00004930| 53 55 42 3e 74 3c 2f 53 | 55 42 3e 3c 49 3e 64 65 |SUB>t</S|UB><I>de|
|00004940| 76 3c 2f 49 3e 29 3c 2f | 53 4d 41 4c 4c 3e 3c 2f |v</I>)</|SMALL></|
|00004950| 41 3e 0a 3c 4c 49 3e 3c | 41 20 4e 41 4d 45 3d 22 |A>.<LI><|A NAME="|
|00004960| 74 65 78 32 68 74 6d 6c | 35 33 22 20 48 52 45 46 |tex2html|53" HREF|
|00004970| 3d 22 6e 6f 64 65 31 36 | 5f 6d 6e 2e 68 74 6d 6c |="node16|_mn.html|
|00004980| 22 20 54 41 52 47 45 54 | 3d 22 6d 61 69 6e 22 3e |" TARGET|="main">|
|00004990| 3c 53 4d 41 4c 4c 3e 3c | 21 2d 2d 20 4d 41 54 48 |<SMALL><|!-- MATH|
|000049a0| 0a 20 24 41 75 64 69 6f | 5f 69 6f 63 74 6c 28 6b |. $Audio|_ioctl(k|
|000049b0| 64 65 76 5f 74 5c 20 64 | 65 76 2c 20 75 6e 73 69 |dev_t\ d|ev, unsi|
|000049c0| 67 6e 65 64 5c 20 69 6e | 74 5c 20 63 6d 64 2c 20 |gned\ in|t\ cmd, |
|000049d0| 76 6f 69 64 20 2a 0a 61 | 72 67 29 24 0a 20 2d 2d |void *.a|rg)$. --|
|000049e0| 3e 0a 3c 49 3e 41 75 64 | 69 6f 3c 2f 49 3e 3c 53 |>.<I>Aud|io</I><S|
|000049f0| 55 42 3e 69 3c 2f 53 55 | 42 3e 3c 49 3e 6f 63 74 |UB>i</SU|B><I>oct|
|00004a00| 6c 3c 2f 49 3e 20 28 3c | 49 3e 6b 64 65 76 3c 2f |l</I> (<|I>kdev</|
|00004a10| 49 3e 3c 53 55 42 3e 74 | 3c 2f 53 55 42 3e 26 6e |I><SUB>t|</SUB>&n|
|00004a20| 62 73 70 3b 3c 49 3e 64 | 65 76 3c 2f 49 3e 2c 20 |bsp;<I>d|ev</I>, |
|00004a30| 3c 49 3e 75 6e 73 69 67 | 6e 65 64 3c 2f 49 3e 26 |<I>unsig|ned</I>&|
|00004a40| 6e 62 73 70 3b 3c 49 3e | 69 6e 74 3c 2f 49 3e 26 |nbsp;<I>|int</I>&|
|00004a50| 6e 62 73 70 3b 3c 49 3e | 63 6d 64 3c 2f 49 3e 2c |nbsp;<I>|cmd</I>,|
|00004a60| 20 3c 49 3e 76 6f 69 64 | 3c 2f 49 3e 2a 3c 49 3e | <I>void|</I>*<I>|
|00004a70| 61 72 67 3c 2f 49 3e 29 | 3c 2f 53 4d 41 4c 4c 3e |arg</I>)|</SMALL>|
|00004a80| 3c 2f 41 3e 0a 3c 4c 49 | 3e 3c 41 20 4e 41 4d 45 |</A>.<LI|><A NAME|
|00004a90| 3d 22 74 65 78 32 68 74 | 6d 6c 35 34 22 20 48 52 |="tex2ht|ml54" HR|
|00004aa0| 45 46 3d 22 6e 6f 64 65 | 31 37 5f 6d 6e 2e 68 74 |EF="node|17_mn.ht|
|00004ab0| 6d 6c 22 20 54 41 52 47 | 45 54 3d 22 6d 61 69 6e |ml" TARG|ET="main|
|00004ac0| 22 3e 3c 53 4d 41 4c 4c | 3e 3c 21 2d 2d 20 4d 41 |"><SMALL|><!-- MA|
|00004ad0| 54 48 0a 20 24 44 65 76 | 5f 69 6f 63 74 6c 28 6b |TH. $Dev|_ioctl(k|
|00004ae0| 64 65 76 5f 74 5c 20 64 | 65 76 2c 20 75 6e 73 69 |dev_t\ d|ev, unsi|
|00004af0| 67 6e 65 64 5c 20 69 6e | 74 5c 20 63 6d 64 2c 20 |gned\ in|t\ cmd, |
|00004b00| 75 6e 73 69 67 6e 65 64 | 5c 20 6c 6f 6e 67 5c 0a |unsigned|\ long\.|
|00004b10| 61 72 67 29 24 0a 20 2d | 2d 3e 0a 3c 49 3e 44 65 |arg)$. -|->.<I>De|
|00004b20| 76 3c 2f 49 3e 3c 53 55 | 42 3e 69 3c 2f 53 55 42 |v</I><SU|B>i</SUB|
|00004b30| 3e 3c 49 3e 6f 63 74 6c | 3c 2f 49 3e 20 28 3c 49 |><I>octl|</I> (<I|
|00004b40| 3e 6b 64 65 76 3c 2f 49 | 3e 3c 53 55 42 3e 74 3c |>kdev</I|><SUB>t<|
|00004b50| 2f 53 55 42 3e 26 6e 62 | 73 70 3b 3c 49 3e 64 65 |/SUB>&nb|sp;<I>de|
|00004b60| 76 3c 2f 49 3e 2c 20 3c | 49 3e 75 6e 73 69 67 6e |v</I>, <|I>unsign|
|00004b70| 65 64 3c 2f 49 3e 26 6e | 62 73 70 3b 3c 49 3e 69 |ed</I>&n|bsp;<I>i|
|00004b80| 6e 74 3c 2f 49 3e 26 6e | 62 73 70 3b 3c 49 3e 63 |nt</I>&n|bsp;<I>c|
|00004b90| 6d 64 3c 2f 49 3e 2c 20 | 3c 49 3e 75 6e 73 69 67 |md</I>, |<I>unsig|
|00004ba0| 6e 65 64 3c 2f 49 3e 26 | 6e 62 73 70 3b 3c 49 3e |ned</I>&|nbsp;<I>|
|00004bb0| 6c 6f 6e 67 3c 2f 49 3e | 49 3e 61 72 67 3c 2f 49 |long</I>|I>arg</I|
|00004bc0| 3e 29 3c 2f 53 4d 41 4c | 4c 3e 3c 2f 41 3e 0a 3c |>)</SMAL|L></A>.<|
|00004bd0| 4c 49 3e 3c 41 20 4e 41 | 4d 45 3d 22 74 65 78 32 |LI><A NA|ME="tex2|
|00004be0| 68 74 6d 6c 35 35 22 20 | 48 52 45 46 3d 22 6e 6f |html55" |HREF="no|
|00004bf0| 64 65 31 38 5f 6d 6e 2e | 68 74 6d 6c 22 20 54 41 |de18_mn.|html" TA|
|00004c00| 52 47 45 54 3d 22 6d 61 | 69 6e 22 3e 3c 53 4d 41 |RGET="ma|in"><SMA|
|00004c10| 4c 4c 3e 43 44 3c 53 4d | 41 4c 4c 3e 52 4f 4d 3c |LL>CD<SM|ALL>ROM<|
|00004c20| 2f 53 4d 41 4c 4c 3e 20 | 63 61 70 61 62 69 6c 69 |/SMALL> |capabili|
|00004c30| 74 69 65 73 3c 2f 53 4d | 41 4c 4c 3e 3c 2f 41 3e |ties</SM|ALL></A>|
|00004c40| 0a 3c 4c 49 3e 3c 41 20 | 4e 41 4d 45 3d 22 74 65 |.<LI><A |NAME="te|
|00004c50| 78 32 68 74 6d 6c 35 36 | 22 20 48 52 45 46 3d 22 |x2html56|" HREF="|
|00004c60| 6e 6f 64 65 31 39 5f 6d | 6e 2e 68 74 6d 6c 22 20 |node19_m|n.html" |
|00004c70| 54 41 52 47 45 54 3d 22 | 6d 61 69 6e 22 3e 3c 53 |TARGET="|main"><S|
|00004c80| 4d 41 4c 4c 3e 4f 70 74 | 69 6f 6e 73 3c 2f 53 4d |MALL>Opt|ions</SM|
|00004c90| 41 4c 4c 3e 3c 2f 41 3e | 0a 3c 2f 55 4c 3e 0a 3c |ALL></A>|.</UL>.<|
|00004ca0| 21 2d 2d 45 6e 64 20 6f | 66 20 54 61 62 6c 65 20 |!--End o|f Table |
|00004cb0| 6f 66 20 43 68 69 6c 64 | 2d 4c 69 6e 6b 73 2d 2d |of Child|-Links--|
|00004cc0| 3e 0a 0a 3c 48 52 3e 0a | 0a 3c 2f 42 4f 44 59 3e |>..<HR>.|.</BODY>|
|00004cd0| 0a 3c 2f 48 54 4d 4c 3e | 0a |.</HTML>|. |
+--------+-------------------------+-------------------------+--------+--------+